Make gdk_keymap_map_virtual_modifiers work early

It needs to ensure that we have an uptodate modmap. Bug 616401
(cherry picked from commit d5a8a3c9bc)
This commit is contained in:
Matthias Clasen 2010-08-25 01:05:29 -04:00
parent c9c23ef031
commit 4e2ade8d6b

View File

@ -1794,6 +1794,7 @@ gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
keymap = GET_EFFECTIVE_KEYMAP (keymap);
keymap_x11 = GDK_KEYMAP_X11 (keymap);
get_xkb (keymap_x11);
retval = TRUE;