1
0
Fork 0

Fix crash in meta_display_get_above_tab_keycode

https://bugzilla.gnome.org/show_bug.cgi?id=647777
This commit is contained in:
Adam Jackson 2011-04-14 10:10:40 -04:00 committed by Owen W. Taylor
parent 64f37a3769
commit 05662b678e

View file

@ -76,6 +76,8 @@ compute_above_tab_keycode (Display *xdisplay)
keyboard = XkbGetKeyboard (xdisplay,
XkbGBN_ClientSymbolsMask | XkbGBN_KeyNamesMask | XkbGBN_GeometryMask,
XkbUseCoreKbd);
if (!keyboard)
return best_keycode;
geometry = keyboard->geom;