[gtk+/client-side-windows: 108/284] Don't send expose events if region is empty
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 108/284] Don't send expose events if region is empty
- Date: Thu, 2 Apr 2009 14:08:48 -0400 (EDT)
commit d82cee80c3a49de8fe4617838787b95741ba7f16
Author: Alexander Larsson <alex localhost localdomain>
Date: Wed Jan 21 16:28:05 2009 +0100
Don't send expose events if region is empty
---
gdk/gdkwindow.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 9aaaeec..755bc5b 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]