aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-14 10:54:23 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-14 10:54:23 +0000
commitc10399694e7f005d9015c7e46ebe6f3fa3fd7587 (patch)
treec3b9d7aecf5e7b0773d1a1218905543db66eda77 /scripts
parentinput: 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