]> Pileus Git - ~andy/gtk/commitdiff
reenabled button_release events for xinput devices. (#113948)
authorMichael Natterer <mitch@gimp.org>
Tue, 3 Jun 2003 18:47:20 +0000 (18:47 +0000)
committerSven Neumann <neo@src.gnome.org>
Tue, 3 Jun 2003 18:47:20 +0000 (18:47 +0000)
2003-06-03  Michael Natterer  <mitch@gimp.org>

* gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
reenabled button_release events for xinput devices. (#113948)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/x11/gdkinput-x11.c

index cc33f2067534d7c85159f51adfe6118186fbecb7..c767f4bd892c87e3c4bf2330446537b2edbd25a0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-03  Michael Natterer  <mitch@gimp.org>
+
+       * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
+       reenabled button_release events for xinput devices. (#113948)
+
 2003-06-03  Christian Rose  <menthos@menthos.com>
 
        * configure.in: Added "li" to ALL_LINGUAS.
@@ -23,8 +28,8 @@ Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>
        an example to the docs.  (#98427)
 
 2003-05-30  Murray Cumming  <murrayc@usa.net>
-  
-       * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
+
+       * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
        gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
        uses the new private data system - see g_type_class_add_private() in
        gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().
index cc33f2067534d7c85159f51adfe6118186fbecb7..c767f4bd892c87e3c4bf2330446537b2edbd25a0 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-03  Michael Natterer  <mitch@gimp.org>
+
+       * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
+       reenabled button_release events for xinput devices. (#113948)
+
 2003-06-03  Christian Rose  <menthos@menthos.com>
 
        * configure.in: Added "li" to ALL_LINGUAS.
@@ -23,8 +28,8 @@ Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>
        an example to the docs.  (#98427)
 
 2003-05-30  Murray Cumming  <murrayc@usa.net>
-  
-       * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
+
+       * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
        gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
        uses the new private data system - see g_type_class_add_private() in
        gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().
index cc33f2067534d7c85159f51adfe6118186fbecb7..c767f4bd892c87e3c4bf2330446537b2edbd25a0 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-03  Michael Natterer  <mitch@gimp.org>
+
+       * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
+       reenabled button_release events for xinput devices. (#113948)
+
 2003-06-03  Christian Rose  <menthos@menthos.com>
 
        * configure.in: Added "li" to ALL_LINGUAS.
@@ -23,8 +28,8 @@ Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>
        an example to the docs.  (#98427)
 
 2003-05-30  Murray Cumming  <murrayc@usa.net>
-  
-       * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
+
+       * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
        gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
        uses the new private data system - see g_type_class_add_private() in
        gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().
index cc33f2067534d7c85159f51adfe6118186fbecb7..c767f4bd892c87e3c4bf2330446537b2edbd25a0 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-03  Michael Natterer  <mitch@gimp.org>
+
+       * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
+       reenabled button_release events for xinput devices. (#113948)
+
 2003-06-03  Christian Rose  <menthos@menthos.com>
 
        * configure.in: Added "li" to ALL_LINGUAS.
@@ -23,8 +28,8 @@ Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>
        an example to the docs.  (#98427)
 
 2003-05-30  Murray Cumming  <murrayc@usa.net>
-  
-       * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
+
+       * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
        gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
        uses the new private data system - see g_type_class_add_private() in
        gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().
index cc33f2067534d7c85159f51adfe6118186fbecb7..c767f4bd892c87e3c4bf2330446537b2edbd25a0 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-03  Michael Natterer  <mitch@gimp.org>
+
+       * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
+       reenabled button_release events for xinput devices. (#113948)
+
 2003-06-03  Christian Rose  <menthos@menthos.com>
 
        * configure.in: Added "li" to ALL_LINGUAS.
@@ -23,8 +28,8 @@ Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>
        an example to the docs.  (#98427)
 
 2003-05-30  Murray Cumming  <murrayc@usa.net>
-  
-       * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
+
+       * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
        gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
        uses the new private data system - see g_type_class_add_private() in
        gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().
index 24886f13e4c4a9f15696292ddfee38548189a01e..bfbadc5f505088b0bc8d9b9dbe46606ebc348fcb 100644 (file)
@@ -267,7 +267,7 @@ _gdk_input_common_find_events(GdkWindow *window,
   XEventClass class;
   
   i = 0;
-  if (mask & GDK_BUTTON_PRESS_MASK || mask & GDK_BUTTON_RELEASE_MASK)
+  if (mask & GDK_BUTTON_PRESS_MASK)
     {
       DeviceButtonPress (gdkdev->xdevice, gdkdev->buttonpress_type,
                             class);
@@ -277,6 +277,13 @@ _gdk_input_common_find_events(GdkWindow *window,
       if (class != 0)
          classes[i++] = class;
     }
+  if (mask & GDK_BUTTON_RELEASE_MASK)
+    {
+      DeviceButtonRelease (gdkdev->xdevice, gdkdev->buttonrelease_type,
+                          class);
+      if (class != 0)
+         classes[i++] = class;
+    }
   if (mask & GDK_POINTER_MOTION_MASK)
     {
       DeviceMotionNotify  (gdkdev->xdevice, gdkdev->motionnotify_type, class);