forked from RepoMirrors/bemenu
Merge pull request #78 from sleich/master
Add Ctrl-[ shortcut to x11 and wayland
This commit is contained in:
commit
98f7c806d9
@ -124,6 +124,8 @@ poll_key(const struct bm_menu *menu, unsigned int *unicode)
|
||||
|
||||
case XKB_KEY_g:
|
||||
if (!(mods & MOD_CTRL)) return BM_KEY_UNICODE;
|
||||
case XKB_KEY_bracketleft:
|
||||
if (!(mods & MOD_CTRL)) return BM_KEY_UNICODE;
|
||||
case XKB_KEY_Escape:
|
||||
return BM_KEY_ESCAPE;
|
||||
|
||||
|
@ -103,6 +103,8 @@ poll_key(const struct bm_menu *menu, unsigned int *unicode)
|
||||
|
||||
case XK_g:
|
||||
if (!(mods & MOD_CTRL)) return BM_KEY_UNICODE;
|
||||
case XK_bracketleft:
|
||||
if (!(mods & MOD_CTRL)) return BM_KEY_UNICODE;
|
||||
case XK_Escape:
|
||||
return BM_KEY_ESCAPE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user