mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-09 00:06:46 -04:00
fix: don't trigger keyrepeat on key release
This commit is contained in:
parent
bd4dee3ea2
commit
4e42fdd2b2
1 changed files with 2 additions and 1 deletions
|
|
@ -4335,7 +4335,8 @@ void keypress(struct wl_listener *listener, void *data) {
|
|||
tag_combo = false;
|
||||
}
|
||||
|
||||
if (handled && group->wlr_group->keyboard.repeat_info.delay > 0) {
|
||||
if (handled && group->wlr_group->keyboard.repeat_info.delay > 0 &&
|
||||
event->state == WL_KEYBOARD_KEY_STATE_PRESSED) {
|
||||
group->mods = mods;
|
||||
group->keysyms = syms;
|
||||
group->keycode = keycode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue