forked from AuroraMiddleware/gtk
Avoid segfault on xkbless systems
This was reported in bug 628932 to cause problems on VNC.
This commit is contained in:
parent
87b192773c
commit
d5c2cb7bcb
@ -1822,6 +1822,8 @@ gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
|
||||
|
||||
keymap = GET_EFFECTIVE_KEYMAP (keymap);
|
||||
keymap_x11 = GDK_KEYMAP_X11 (keymap);
|
||||
|
||||
if (KEYMAP_USE_XKB (keymap))
|
||||
get_xkb (keymap_x11);
|
||||
|
||||
retval = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user