summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-10
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-06 17:56:01 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-06 17:56:01 +0000
commit543ce67477599e8b519a66fec1fc34d2e7157066 (patch)
treecf80f6cb706ccad8145aa7eb9087e2054172f83a /ChangeLog.pre-2-10
parent5e93e9da16947fd4d8fe8541fdcd26cb20bdbed7 (diff)
downloadgtk+-543ce67477599e8b519a66fec1fc34d2e7157066.tar.gz
Add support for extra virtual modifiers: (#85780, Owen Taylor)
2005-09-06 Matthias Clasen <mclasen@redhat.com> Add support for extra virtual modifiers: (#85780, Owen Taylor) * gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Add a modmap to maintain the information which X modifiers map to virtual modifiers. (get_xkb): Set up the modmap from the XKB tables. (update_keymaps): Set up the modmap from the information returned by XGetModifierMapping in the non-XKB case. * gdk/x11/gdkprivate-x11.h: * gdk/x11/gdkkeys-x11.c (_gdk_keymap_add_virtual_modifiers): New function to set the virtual modifiers in the state. * gdk/x11/gdkevents-x11.c (translate_key_event): Call _gdk_keymap_add_virtual_modifiers here. * gdk/gdktypes.h (GdkModifierType): Add bits for virtual Super, Hyper and Meta modifiers. Also add GDK_ALT_MASK as an alias for GDK_MOD1_MASK.
Diffstat (limited to 'ChangeLog.pre-2-10')
-rw-r--r--ChangeLog.pre-2-1022
1 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index b7feeca281..cdbca2bd1e 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,25 @@
+2005-09-06 Matthias Clasen <mclasen@redhat.com>
+
+ Add support for extra virtual modifiers: (#85780, Owen Taylor)
+
+ * gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Add a
+ modmap to maintain the information which X modifiers map to
+ virtual modifiers.
+ (get_xkb): Set up the modmap from the XKB tables.
+ (update_keymaps): Set up the modmap from the information returned
+ by XGetModifierMapping in the non-XKB case.
+
+ * gdk/x11/gdkprivate-x11.h:
+ * gdk/x11/gdkkeys-x11.c (_gdk_keymap_add_virtual_modifiers): New
+ function to set the virtual modifiers in the state.
+
+ * gdk/x11/gdkevents-x11.c (translate_key_event): Call
+ _gdk_keymap_add_virtual_modifiers here.
+
+ * gdk/gdktypes.h (GdkModifierType): Add bits for virtual Super,
+ Hyper and Meta modifiers. Also add GDK_ALT_MASK as an alias
+ for GDK_MOD1_MASK.
+
2005-09-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaction.c (connect_proxy): Set the label of a button