GNOME Bugzilla – Bug 54506
Exposures generated without regard to EXPOSURE_MASK
Last modified: 2011-02-04 16:09:32 UTC
Exposure events are generated for calls to gdk_window_invalidate_region() and also by the predictive exposure code in gdkgeometry-x11.c without regard to GDK_EXPOSURE_MASK. This could be considered a bug, though similar things happened in GTK+-1.2 when GTK+ would generate synthetic exposure events for widgets without draw() handlers...
Wed Feb 27 19:16:50 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkwindow-x11.c (gdk_window_new): * gdk/x11/gdkwindow-x11.c (gdk_window_get_events): * gdk/x11/gdkwindow-x11.c (gdk_window_set_events): * gdk/win32/gdkwindow-win32.c (gdk_window_set_events): * gdk/win32/gdkwindow-win32.c (gdk_window_new): * gdk/gdkwindow.h (struct _GdkWindowObject): * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_events): Save the window's event mask in window->event_mask. * gdk/gdkwindow.c (gdk_window_process_updates_internal): Only generate expose events if GDK_EXPOSE_MASK is included window->event_mask. (#54506)