gtk+ r20165 - in trunk: . gdk/x11



Author: bratsche
Date: Sun May 25 23:21:40 2008
New Revision: 20165
URL: http://svn.gnome.org/viewvc/gtk+?rev=20165&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/gdk/x11/gdkgeometry-x11.c

Modified: trunk/gdk/x11/gdkgeometry-x11.c
==============================================================================
--- trunk/gdk/x11/gdkgeometry-x11.c	(original)
+++ trunk/gdk/x11/gdkgeometry-x11.c	Sun May 25 23:21:40 2008
@@ -731,7 +731,7 @@
       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);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]