summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-12-09 23:55:26 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-12-09 23:55:26 +0000
commitb658a5d26c3b8bdc862ecbe1cc72acdd50a8c423 (patch)
tree8315cd77b4f1477724bb6c6db6aaeb05ba925e32 /gdk
parent00185e7ed197059ed572066217a076ec80403f3a (diff)
downloadgtk+-b658a5d26c3b8bdc862ecbe1cc72acdd50a8c423.tar.gz
Remove selection for DeviceButtonRelease, we no longer need it now that
Mon Dec 9 18:50:31 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events): Remove selection for DeviceButtonRelease, we no longer need it now that gxi is gone. (#32617, reported by Garry Osgood)
Diffstat (limited to 'gdk')
-rw-r--r--gdk/x11/gdkinput-x11.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdk/x11/gdkinput-x11.c b/gdk/x11/gdkinput-x11.c
index db716fa9f9..b53e5cc7a8 100644
--- a/gdk/x11/gdkinput-x11.c
+++ b/gdk/x11/gdkinput-x11.c
@@ -267,9 +267,6 @@ _gdk_input_common_find_events(GdkWindow *window,
XEventClass class;
i = 0;
- /* We have to track press and release events in pairs to keep
- track of button state correctly and implement grabbing for
- the gxi support. FIXME - is this needed any more since gxi is gone? */
if (mask & GDK_BUTTON_PRESS_MASK || mask & GDK_BUTTON_RELEASE_MASK)
{
DeviceButtonPress (gdkdev->xdevice, gdkdev->buttonpress_type,
@@ -279,10 +276,6 @@ _gdk_input_common_find_events(GdkWindow *window,
DeviceButtonPressGrab (gdkdev->xdevice, 0, class);
if (class != 0)
classes[i++] = class;
- DeviceButtonRelease (gdkdev->xdevice, gdkdev->buttonrelease_type,
- class);
- if (class != 0)
- classes[i++] = class;
}
if (mask & GDK_POINTER_MOTION_MASK)
{