diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-14 10:54:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-14 10:54:23 +0000 |
| commit | c10399694e7f005d9015c7e46ebe6f3fa3fd7587 (patch) | |
| tree | c3b9d7aecf5e7b0773d1a1218905543db66eda77 /scripts | |
| parent | input: add debug logs to all keyboard/pointer enter/leave/action events (diff) | |
input: remove Sway 1.2 keyboard/pointer workarounds
Sway 1.4 is better than 1.2, in that we always have keyboard focus
when we get a keyboard_key() event.
That however is because it doesn't send keyboard_leave() on e.g. a TTY
switch.
Still, this is good enough - foot handles this and doesn't crash. We
are also able to process input without having to refocus the window.
And, Sway master (what will become Sway 1.5) has fixed this for real -
we now get a keyboard_leave() and pointer_leave() event on a TTY
switch. And the corresponding enter events when switching back.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
