Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix crash in meta_display_get_above_tab_keycode

  • Loading branch information...
commit e3baf14cbb0e595f3bb67a7fc4fb607720c9aecb 1 parent e1c7077
@nwnk nwnk authored owtaylor committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/core/above-tab-keycode.c
View
2  src/core/above-tab-keycode.c
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.