[gtk+/events-refactor: 328/1085] Hook up GdkDisplayX11 to current events translation.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/events-refactor: 328/1085] Hook up GdkDisplayX11 to current events translation.
- Date: Tue, 29 Sep 2009 10:45:40 +0000 (UTC)
commit eec943cb850b7b10c95315368e5f41d188b30f3c
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat May 30 14:42:36 2009 +0200
Hook up GdkDisplayX11 to current events translation.
gdk/x11/gdkevents-x11.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/gdkevents-x11.c b/gdk/x11/gdkevents-x11.c
index 0f3b174..e0cc554 100644
--- a/gdk/x11/gdkevents-x11.c
+++ b/gdk/x11/gdkevents-x11.c
@@ -2295,6 +2295,10 @@ _gdk_events_queue (GdkDisplay *display)
event = gdk_event_translator_translate (GDK_EVENT_TRANSLATOR (device_manager),
display, &xevent);
+ if (!event)
+ event = gdk_event_translator_translate (GDK_EVENT_TRANSLATOR (display),
+ display, &xevent);
+
if (event)
node = _gdk_event_queue_append (display, event);
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]