swayfx/sway
Tudor Brindus 5d13f647f9 input/tablet: add seatop_down entry for tablet input
Currently, when tablet input exits a window during an implicit grab, it
passes focus to another window.

For instance, this is problematic when trying to drag a scrollbar, and
exiting the window — the scrollbar motion stops. Additionally,
without `focus_follows_mouse no`, the tablet passes focus to whatever
surface it goes over regardless of if there is an active implicit.

If the tablet is over a surface that does not bind tablet handlers, sway
will fall back to pointer emulation, and all of this works fine. It
probably should have consistent behavior between emulated and
not-emulated input, though.

This commit adds a condition for entering seatop_down when a tablet's
tool tip goes down, and exiting when it goes up. Since events won't be
routed through seatop_default, this prevents windows losing focus during
implicit grabs.

Closes #5302.
2020-05-25 10:01:00 +02:00
..
commands commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
config config/output: reconfigure input devices after full output init 2020-04-26 09:13:39 +02:00
desktop Fix typos in comments 2020-05-21 10:52:59 +02:00
input input/tablet: add seatop_down entry for tablet input 2020-05-25 10:01:00 +02:00
tree commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
commands.c Remove code related to the security features 2020-05-21 10:57:00 +02:00
config.c Remove code related to the security features 2020-05-21 10:57:00 +02:00
criteria.c Introduce pid criteria token 2020-02-27 14:03:22 +01:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c ipc: show marks of containers without view in tree 2020-05-22 08:21:22 +02:00
ipc-server.c Remove code related to the security features 2020-05-21 10:57:00 +02:00
main.c config: fix validation exit code and log level 2020-02-11 16:02:11 +01:00
meson.build Remove code related to the security features 2020-05-21 10:57:00 +02:00
server.c Add a secondary headless backend 2020-05-01 17:00:14 +02:00
sway-bar.5.scd swaybar: complete barconfig_update event handling 2019-09-04 16:48:50 -10:00
sway-input.5.scd fix typos in sway-input.5.scd 2020-04-29 12:43:34 +02:00
sway-ipc.7.scd Add each view's shell to JSON description 2020-04-27 20:37:57 -04:00
sway-output.5.scd Simplify repaint scheduling documentation 2020-05-11 10:36:33 +02:00
sway.1.scd add dots to man 2020-04-14 10:10:35 +02:00
sway.5.scd sway.5: make formatting more consistent 2020-05-20 14:11:34 +02:00
swaynag.c Rename symbol set_cloexec to sway_set_cloexec, remove duplicates. 2019-11-01 12:41:08 -04:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00