sway/include
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
..
sway input/tablet: add seatop_down entry for tablet input 2020-05-25 10:01:00 +02:00
swaybar swaybar: Fix scrolling with precise trackpads 2020-04-28 21:46:37 +02:00
swaynag swaynag: Add multi-seat support 2020-01-05 19:57:05 +01:00
background-image.h
cairo.h swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
ipc-client.h swaymsg: add timeout and type checks 2019-04-17 09:07:08 +03:00
ipc.h ipc: add an input event 2019-07-23 20:45:46 +03:00
list.h list.c: rename free_flat_list to list_free_items_and_destroy 2018-12-09 01:15:38 +00:00
log.h Use -fmacro-prefix-map to strip build path 2019-07-15 16:35:50 -04:00
loop.h Remove timerfd from loop implementation 2018-10-15 00:26:27 +10:00
meson.build
pango.h
pool-buffer.h
stringop.h input_cmd_xkb_file: allow shell path expansion 2019-11-21 10:36:15 -05:00
util.h cmd_client_*: refactor duplicated code 2019-12-28 10:07:25 +01:00