]> git.mdlowis.com Git - proto/labwc.git/commit
keyboard: include pressed modifiers in bound set
authorJohn Lindgren <john@jlindgren.net>
Sat, 11 Nov 2023 04:43:46 +0000 (23:43 -0500)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 12 Nov 2023 17:37:30 +0000 (17:37 +0000)
commit98bf316ee6632f62ec205904d74eabd8b3e9d15b
tree1baa9c1a505883dfa491a036dfd6655dbf2202af
parentfe9491443c6fe6d9a16538a28b2aeee2afe3c664
keyboard: include pressed modifiers in bound set

This prevents applications from seeing and handling the release event
for a modifier key that was part of a keybinding (e.g. Firefox displays
its menu bar for a lone Alt press + release).
include/input/key-state.h
src/input/key-state.c
src/input/keyboard.c