diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-21 10:27:31 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-28 14:14:53 +0000 |
| commit | db746d72edb2fdacf3cc9dbdf1acfc6b70ec3b08 (patch) | |
| tree | 77d27abd193a5c3a2a93a92f26d39e81e420c1cd /server.c | |
| parent | input: kitty: use base symbol instead of lowering the symbol (diff) | |
input: get_current_modifiers() no longer strips insignificant mods
Our internal binding handling cares about a different set of
modifiers, compared to the kitty keyboard protocol.
To handle this, get_current_modifiers() has been modified, to no
longer strip the “unsignificant” modifiers. This is now up to the
caller to do.
To help, we keep two masks (for significant modifiers) in the seat
struct; one for our internal binding handling (and the legacy keyboard
protocol), and one for the kitty keyboard protocol. These two masks
are updated when the seat’s keymap is updated/changed.
Diffstat (limited to 'server.c')
0 files changed, 0 insertions, 0 deletions
