mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-15 22:05:20 -05:00
feat: allow single mod keybind
This commit is contained in:
parent
63c356afc0
commit
570ea57eda
1 changed files with 0 additions and 5 deletions
|
|
@ -3445,11 +3445,6 @@ keybinding(uint32_t state, bool locked, uint32_t mods, xkb_keysym_t sym,
|
|||
int32_t ji;
|
||||
int32_t isbreak = 0;
|
||||
|
||||
// not allow modifier keys to be used as a keybinding
|
||||
if (keycode == 50 || keycode == 37 || keycode == 133 || keycode == 64 ||
|
||||
keycode == 62 || keycode == 108 || keycode == 105 || keycode == 134)
|
||||
return false;
|
||||
|
||||
if (is_keyboard_shortcut_inhibitor(seat->keyboard_state.focused_surface)) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue