]> git.mdlowis.com Git - proto/labwc.git/commit
keyboard: add missing Hyper_ and Meta_ syms to modifier detection
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 10 Oct 2023 17:07:58 +0000 (19:07 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 10 Oct 2023 18:57:45 +0000 (19:57 +0100)
commit3aa3edd35643f8a766b19f1ce8e27ef3bace67f1
treea54f338f22cb43b388ff01ab533aac5ddb9e4083
parenta105c8781aa083dfc6c7390a7b0c25990ddbb125
keyboard: add missing Hyper_ and Meta_ syms to modifier detection

This was forgotten in 65bd32d62500389a1d6affafac6d1989ba28042f
Reported-by: @jonhiggs (thanks)
Also stop treating the synthetic layout change sym as modifier
but still prevent it from being added to the set of pressed keys.

Additionally slightly reformat the code.
src/keyboard.c