[gtk+/xi2: 775/1239] Do not generate 2BUTTON/3BUTTON events from the XI2 code.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/xi2: 775/1239] Do not generate 2BUTTON/3BUTTON events from the XI2 code.
- Date: Tue, 29 Sep 2009 10:50:46 +0000 (UTC)
commit 0c71a6bb53791e53153588e2d63178581d84a629
Author: Carlos Garnacho <carlos lanedo com>
Date: Sat Aug 15 22:31:30 2009 +0200
Do not generate 2BUTTON/3BUTTON events from the XI2 code.
This is now handled by the client side windows generic code.
gdk/x11/gdkdevicemanager-xi2.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index ffbb076..d981b37 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -900,13 +900,8 @@ gdk_device_manager_xi2_translate_event (GdkEventTranslator *translator,
break;
}
- if (event->any.type == GDK_BUTTON_PRESS)
- {
- _gdk_event_button_generate (display, event);
- set_user_time (event);
- }
+ set_user_time (event);
- /* _gdk_xgrab_check_button_event (event->button.window, xev); */
break;
}
case XI_Motion:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]