]> git.mdlowis.com Git - proto/labwc.git/commit
keyboard: fix release event bug after session lock
authorJohan Malm <jgm323@gmail.com>
Thu, 28 Sep 2023 19:44:57 +0000 (20:44 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Thu, 28 Sep 2023 19:58:47 +0000 (21:58 +0200)
commitd56cf92794c311ac23807b87d006e687f613efb5
tree5c654379447084ee229bd32b275eeda4cd4df6e1
parente5aef0331996aa0c77f7ea2f0af390b40704f626
keyboard: fix release event bug after session lock

Do not withhold the release event associated with a keybind which executes
a keyboard-input-inhibiting client like swaylock.

In other words, make release-events of absorbed keys (those used up by a
keybind) de-register as such even though session-lock or input-inhibit is
in-force.

Fixes: issue #1114
Helped-by: @Consolatis
src/keyboard.c