[gtk+] Check for GraphicsExpose too in expose_serial_predicate
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Check for GraphicsExpose too in expose_serial_predicate
- Date: Thu, 13 Aug 2009 12:40:29 +0000 (UTC)
commit a3ee8271a98ca4fb6584f4ea8e46e7c30a0fa885
Author: Alexander Larsson <alexl redhat com>
Date: Thu Aug 13 13:07:13 2009 +0200
Check for GraphicsExpose too in expose_serial_predicate
GraphicsExpose cause invalidation too, so we need to look for such
events in addition to normal Expose events.
gdk/x11/gdkgeometry-x11.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkgeometry-x11.c b/gdk/x11/gdkgeometry-x11.c
index 50d7548..b00ef05 100644
--- a/gdk/x11/gdkgeometry-x11.c
+++ b/gdk/x11/gdkgeometry-x11.c
@@ -108,7 +108,7 @@ expose_serial_predicate (Display *xdisplay,
{
gulong *serial = (gulong *)arg;
- if (xev->xany.type == Expose)
+ if (xev->xany.type == Expose || xev->xany.type == GraphicsExpose)
*serial = MIN (*serial, xev->xany.serial);
return False;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]