[gnome-settings-daemon/wip/input-sources: 2/6] keyboard: Fix XkbSelectEventDetails event_type argument



commit 25706200275772edaa1c5f7763e639cea0928da3
Author: Rui Matos <tiagomatos gmail com>
Date:   Mon Apr 16 17:28:23 2012 +0200

    keyboard: Fix XkbSelectEventDetails event_type argument
    
    This just happened to work by chance since both XkbStateNotify and
    XkbStateNotifyMask are the same integral value.

 plugins/keyboard/gsd-keyboard-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-manager.c b/plugins/keyboard/gsd-keyboard-manager.c
index b542c64..c507f3f 100644
--- a/plugins/keyboard/gsd-keyboard-manager.c
+++ b/plugins/keyboard/gsd-keyboard-manager.c
@@ -109,7 +109,7 @@ numlock_xkb_init (GsdKeyboardManager *manager)
         if (have_xkb) {
                 XkbSelectEventDetails (dpy,
                                        XkbUseCoreKbd,
-                                       XkbStateNotifyMask,
+                                       XkbStateNotify,
                                        XkbModifierLockMask,
                                        XkbModifierLockMask);
         } else {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]