[gtk+/xi2: 1083/1239] Select key press/release events in gdk_keyboard_grab().
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/xi2: 1083/1239] Select key press/release events in gdk_keyboard_grab().
- Date: Tue, 29 Sep 2009 10:55:48 +0000 (UTC)
commit 794bb3ddc1326deaf80b242e9ceb1d72ec41148d
Author: Carlos Garnacho <carlos gnome org>
Date: Sun Sep 6 22:07:07 2009 +0200
Select key press/release events in gdk_keyboard_grab().
gdk/gdkwindow.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index b99c114..0397665 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -9480,7 +9480,8 @@ gdk_keyboard_grab (GdkWindow *window,
res = _gdk_windowing_device_grab (device,
window,
native,
- owner_events, 0,
+ owner_events,
+ GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK,
NULL,
NULL,
time);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]