sway/sway/input
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
..
cursor.c input/tablet: add seatop_down entry for tablet input 2020-05-25 10:01:00 +02:00
input-manager.c input: fix reloading crash due to keyboard group configuring 2020-05-19 15:42:32 -04:00
keyboard.c input: fix reloading crash due to keyboard group configuring 2020-05-19 15:42:32 -04:00
libinput.c input/libinput: typo fixes (get -> get_default) 2019-08-03 15:46:05 +02:00
seat.c input/tablet: add seatop_down entry for tablet input 2020-05-25 10:01:00 +02:00
seatop_default.c input/tablet: add seatop_down entry for tablet input 2020-05-25 10:01:00 +02:00
seatop_down.c input/tablet: add seatop_down entry for tablet input 2020-05-25 10:01:00 +02:00
seatop_move_floating.c input: rename pointer handlers to be unambiguous 2020-05-02 18:28:06 +02:00
seatop_move_tiling.c input: rename pointer handlers to be unambiguous 2020-05-02 18:28:06 +02:00
seatop_resize_floating.c Really fix floating window border resize problems 2020-05-13 11:07:31 +02:00
seatop_resize_tiling.c input: rename pointer handlers to be unambiguous 2020-05-02 18:28:06 +02:00
switch.c Fix a use-after-free error in switch binding 2020-04-14 19:41:30 -04:00
tablet.c input/tablet: query tablet focused surface for cursor image check 2020-04-26 09:14:54 +02:00
text_input.c im: Fix crash when im destorying and no focused surface exists 2020-04-04 11:42:04 +02:00