XK_Num_Lock is called GDK_KEY_Num_Lock in this source tree.

This commit is contained in:
Patrick Welche 2011-07-01 19:14:48 +01:00
parent 91706f7883
commit 0388781e8f

View File

@ -232,7 +232,7 @@ get_xkb (GdkX11Keymap *keymap_x11)
keymap_x11->current_serial = display_x11->keymap_serial;
if (keymap_x11->num_lock_mask == 0)
keymap_x11->num_lock_mask = XkbKeysymToModifiers (KEYMAP_XDISPLAY (GDK_KEYMAP (keymap_x11)), XK_Num_Lock);
keymap_x11->num_lock_mask = XkbKeysymToModifiers (KEYMAP_XDISPLAY (GDK_KEYMAP (keymap_x11)), GDK_KEY_Num_Lock);
return keymap_x11->xkb_desc;
}