[gtk+/xi2] Remove gdk/x11/gdkinputprivate.h.



commit 6385c0affafa37487e49a502c08d849b8e7a3c14
Author: Carlos Garnacho <carlos gnome org>
Date:   Mon Oct 12 13:45:34 2009 +0200

    Remove gdk/x11/gdkinputprivate.h.
    
    It was just used by gdk/x11/gdkinput.c, so useful declarations have been
    moved there. GdkInputWindow has been cleaned up as well, since all devices
    should be dealt the same way, and it's just used now for implementing
    gdk_input_set_extension_events().

 gdk/x11/gdkinput.c        |   17 ++++--
 gdk/x11/gdkinputprivate.h |  142 ---------------------------------------------
 2 files changed, 12 insertions(+), 147 deletions(-)
---
diff --git a/gdk/x11/gdkinput.c b/gdk/x11/gdkinput.c
index 49db778..7f25266 100644
--- a/gdk/x11/gdkinput.c
+++ b/gdk/x11/gdkinput.c
@@ -28,15 +28,23 @@
 
 #include <stdlib.h>
 
-#include "gdkx.h"
-#include "gdkinput.h"
-#include "gdkprivate.h"
-#include "gdkinputprivate.h"
 #include "gdkscreen-x11.h"
 #include "gdkdisplay-x11.h"
 #include "gdkwindow.h"
 #include "gdkalias.h"
 
+/* Addition used for extension_events mask */
+#define GDK_ALL_DEVICES_MASK (1<<30)
+
+struct _GdkInputWindow
+{
+  GList *windows; /* GdkWindow:s with extension_events set */
+
+  /* gdk window */
+  GdkWindow *impl_window; /* an impl window */
+};
+
+
 /**
  * gdk_devices_list:
  *
@@ -281,7 +289,6 @@ gdk_input_set_extension_events (GdkWindow *window, gint mask,
 	  iw->impl_window = (GdkWindow *)impl_window;
 
 	  iw->windows = NULL;
-	  iw->grabbed = FALSE;
 
 	  display_x11->input_windows = g_list_append (display_x11->input_windows, iw);
 	  impl_window->input_window = iw;



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