mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Don't send expose events if region is empty
This commit is contained in:
parent
8a0ef57ba3
commit
d82cee80c3
@ -4389,7 +4389,8 @@ gdk_window_process_updates_recurse (GdkWindow *window,
|
||||
gdk_region_destroy (child_region);
|
||||
}
|
||||
|
||||
if (private->event_mask & GDK_EXPOSURE_MASK)
|
||||
if (private->event_mask & GDK_EXPOSURE_MASK &&
|
||||
!gdk_region_empty (expose_region))
|
||||
{
|
||||
GdkEvent event;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user