diff options
author | Rui Matos <tiagomatos@gmail.com> | 2012-04-16 17:28:23 +0200 |
---|---|---|
committer | Rui Matos <tiagomatos@gmail.com> | 2012-05-15 01:55:06 +0200 |
commit | f61a7d843fdb3dff75387dcf0b21a57bcfeded48 (patch) | |
tree | 50a9061e3ddcaa65483ee8a1b12a970c691c5337 | |
parent | f510ede5d5f97267ae1f41863c738c6373b678b5 (diff) | |
download | gnome-settings-daemon-f61a7d843fdb3dff75387dcf0b21a57bcfeded48.tar.gz |
keyboard: Fix XkbSelectEventDetails event_type argument
This just happened to work by chance since both XkbStateNotify and
XkbStateNotifyMask are the same integral value.
-rw-r--r-- | 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 4e4b5d66..778067ef 100644 --- a/plugins/keyboard/gsd-keyboard-manager.c +++ b/plugins/keyboard/gsd-keyboard-manager.c @@ -498,7 +498,7 @@ numlock_xkb_init (GsdKeyboardManager *manager) dpy = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()); XkbSelectEventDetails (dpy, XkbUseCoreKbd, - XkbStateNotifyMask, + XkbStateNotify, XkbModifierLockMask, XkbModifierLockMask); } |