Bug 525461 - Don't invalidate under an input-only child

2008-05-25  Cody Russell  <bratsche@gnome.org>

        Bug 525461 - Don't invalidate under an input-only child

        * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
        Check that the window is not input-only before invalidating.
        Report and patch by Owen Taylor.


svn path=/trunk/; revision=20165
This commit is contained in:
Cody Russell 2008-05-25 23:21:40 +00:00 committed by Cody Russell
parent 4a5da1a18d
commit a0e6b36478
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2008-05-25 Cody Russell <bratsche@gnome.org>
Bug 525461 - Don't invalidate under an input-only child
* gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
Check that the window is not input-only before invalidating.
Report and patch by Owen Taylor.
2008-05-25 Cody Russell <bratsche@gnome.org>
Bug 524110 - Gdk should not assume reparenting WMs when retrieving

View File

@ -731,7 +731,7 @@ _gdk_window_move_resize_child (GdkWindow *window,
impl->position_info = new_info;
}
if (GDK_WINDOW_IS_MAPPED (obj) && obj->parent)
if (GDK_WINDOW_IS_MAPPED (obj) && obj->parent && !obj->input_only)
gdk_window_invalidate_rect ((GdkWindow *)obj->parent, &old_pos, FALSE);
}