forked from AuroraMiddleware/gtk
XK_Num_Lock is called GDK_KEY_Num_Lock in this source tree.
This commit is contained in:
parent
91706f7883
commit
0388781e8f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user