[gtk+/native-layout] Add gdk_keymap_map_virtual_modifiers() to Quartz backend
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Add gdk_keymap_map_virtual_modifiers() to Quartz backend
- Date: Sun, 4 Apr 2010 02:12:33 +0000 (UTC)
commit 0d51400b29b79820ffdc57c8df96d1a1869ce885
Author: Kristian Rietveld <kris gtk org>
Date: Mon Dec 28 21:18:06 2009 +0100
Add gdk_keymap_map_virtual_modifiers() to Quartz backend
gdk/quartz/gdkkeys-quartz.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gdk/quartz/gdkkeys-quartz.c b/gdk/quartz/gdkkeys-quartz.c
index 652641b..a277af3 100644
--- a/gdk/quartz/gdkkeys-quartz.c
+++ b/gdk/quartz/gdkkeys-quartz.c
@@ -652,6 +652,14 @@ gdk_keymap_translate_keyboard_state (GdkKeymap *keymap,
return TRUE;
}
+gboolean
+gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
+ GdkModifierType *state)
+{
+ /* FIXME: For now, we've mimiced the Windows backend. */
+ return TRUE;
+}
+
/* What sort of key event is this? Returns one of
* GDK_KEY_PRESS, GDK_KEY_RELEASE, GDK_NOTHING (should be ignored)
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]