From d5a8a3c9bc2a5dc30c1f16f2ac38869299aa86b9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 25 Aug 2010 01:05:29 -0400 Subject: [PATCH] Make gdk_keymap_map_virtual_modifiers work early It needs to ensure that we have an uptodate modmap. Bug 616401 --- gdk/x11/gdkkeys-x11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c index 24bb18be03..c7963f5d81 100644 --- a/gdk/x11/gdkkeys-x11.c +++ b/gdk/x11/gdkkeys-x11.c @@ -1822,6 +1822,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;