CVSROOT:        /cvs/gnome
Module name:    gtk+
Changes by:     matthiasc       05/09/06 13:56:01

Modified files:
        .              : ChangeLog 
        gdk            : gdktypes.h 
        gdk/x11        : gdkevents-x11.c gdkkeys-x11.c gdkprivate-x11.h 

Log message:
2005-09-06  Matthias Clasen  <[EMAIL PROTECTED]>

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.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=matthiasc&date=explicit&mindate=2005-09-06%2013:55&maxdate=2005-09-06%2013:57

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to