mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-10 11:04:10 -04:00
fix: don't trigger keyrepeat on key release
This commit is contained in:
parent
6d3f7b4abb
commit
6054bc4b0b
1 changed files with 2 additions and 1 deletions
|
|
@ -4420,7 +4420,8 @@ void keypress(struct wl_listener *listener, void *data) {
|
||||||
tag_combo = false;
|
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->mods = mods;
|
||||||
group->keysyms = syms;
|
group->keysyms = syms;
|
||||||
group->keycode = keycode;
|
group->keycode = keycode;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue