Commit 7f92684237fe842621b2653cc8b46288646a61b3

Don't ever invalidate the root window

This never worked before csw since the root window is never
set as IS_MAPPED, but with the new viewable check (which is
true for the root window) we could erronously queue exposes
on the root window.

This happened unexpectedly in bug 589369, where metacity
got a GraphicsExpose event on the root window due to some
graphics operation, queueing an expose which would be handled
by clearing that area. That is fixed with this commit.
gdk/gdkwindow.c
(2 / 1)
  
51355135
51365136 if (private->input_only ||
51375137 !private->viewable ||
5138 gdk_region_empty (region))
5138 gdk_region_empty (region) ||
5139 private->window_type == GDK_WINDOW_ROOT)
51395140 return;
51405141
51415142 visible_region = gdk_drawable_get_visible_region (window);

Comments

Add a new comment:

Login or create an account to post a comment

Add your comment