[gtk+] Remove unused grab_one_pointer_release_event var



commit 739121dee0bddddffc43d48803ca84996f42142c
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Sep 28 15:26:19 2009 +0200

    Remove unused grab_one_pointer_release_event var
    
    We don't use this anymore, so just remove.

 gdk/gdkdisplay.c   |    4 +---
 gdk/gdkinternals.h |    1 -
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index d020b16..c2064ba 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1046,9 +1046,7 @@ _gdk_display_pointer_grab_update (GdkDisplay *display,
       if (current_grab->serial_start > current_serial)
 	return; /* Hasn't started yet */
       
-      if (current_grab->serial_end > current_serial ||
-	  (current_grab->serial_end == current_serial &&
-	   current_grab->grab_one_pointer_release_event))
+      if (current_grab->serial_end > current_serial)
 	{
 	  /* This one hasn't ended yet.
 	     its the currently active one or scheduled to be active */
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 51db55f..0681bdc 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -185,7 +185,6 @@ typedef struct
 
   gboolean activated;
   gboolean implicit_ungrab;
-  gboolean grab_one_pointer_release_event;
 } GdkPointerGrabInfo;
 
 typedef struct _GdkInputWindow GdkInputWindow;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]