Skip to content

Commit

Permalink
keyboard: do not consume the release events from modifier bindings (#…
Browse files Browse the repository at this point in the history
…2127)

For these bindings we should still do a release because the press was
registered.
  • Loading branch information
ammen99 authored Feb 8, 2024
1 parent da33a43 commit 50de0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/seat/keyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ bool wf::keyboard_t::handle_keyboard_key(uint32_t time, uint32_t key, uint32_t s

if ((timeout <= 0) || (time_elapsed < milliseconds(timeout)))
{
handled_in_plugin |= wf::get_core().bindings->handle_key(
wf::get_core().bindings->handle_key(
wf::keybinding_t{get_modifiers() | mod, 0}, mod_binding_key);
}
}
Expand Down

0 comments on commit 50de0a1

Please sign in to comment.