• Matthias Clasen's avatar
    Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc. · 859aaf90
    Matthias Clasen authored
    2008-09-29  Matthias Clasen  <mclasen@redhat.com>
    
            Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
    
            * gdk/gdk.symbols:
            * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
            a gdk_keymap_get_caps_lock_state function.
    
            * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
            state-changed when caps lock lockedness changes.
    
            * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
            changes in the XkbSelectEventDetails call.
    
    
    svn path=/trunk/; revision=21545
    859aaf90
gdkkeys.h 4.82 KB