mirror of
https://github.com/Cloudef/bemenu
synced 2024-11-24 01:44:16 +01:00
commit
01be868def
@ -327,6 +327,7 @@ poll_key(const struct bm_menu *menu, uint32_t *unicode)
|
||||
return BM_KEY_SHIFT_RETURN;
|
||||
|
||||
case 10: /* Return */
|
||||
case 13: /* C-m */
|
||||
terminate();
|
||||
return BM_KEY_RETURN;
|
||||
|
||||
|
@ -151,6 +151,9 @@ poll_key(const struct bm_menu *menu, unsigned int *unicode)
|
||||
case XKB_KEY_d:
|
||||
return (mods & MOD_ALT ? BM_KEY_PAGE_DOWN : BM_KEY_UNICODE);
|
||||
|
||||
case XKB_KEY_m:
|
||||
return (mods & MOD_CTRL ? BM_KEY_RETURN : BM_KEY_UNICODE);
|
||||
|
||||
default: break;
|
||||
}
|
||||
|
||||
|
@ -140,6 +140,9 @@ poll_key(const struct bm_menu *menu, unsigned int *unicode)
|
||||
case XK_d:
|
||||
return (mods & MOD_ALT ? BM_KEY_PAGE_DOWN : BM_KEY_UNICODE);
|
||||
|
||||
case XK_m:
|
||||
return (mods & MOD_CTRL ? BM_KEY_RETURN : BM_KEY_UNICODE);
|
||||
|
||||
default: break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user