From 8e4d020a41727179078fae10d254a01161963aaa Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 2 Oct 2021 17:33:01 +0200 Subject: input: check for ‘effective’ modifiers, not ‘depressed’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When reading XKB modifier state, use XKB_STATE_MODS_EFFECTIVE, not XKB_STATE_MODS_DEPRESSED. This fixes handling of ‘sticky’ modifier keys. --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 23d92b52..4e3cbc7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,12 @@ ### Deprecated ### Removed ### Fixed + +* ‘Sticky’ modifiers in input handling; when determining modifier + state, foot was looking at **depressed** modifiers, not + **effective** modifiers, like it should. + + ### Security ### Contributors -- cgit v1.3