swayfx/sway/input
Kenny Levinsen 492267a5d6 seat: Refocus seat when wlr_drag is destroyed
wlr_drag installs grabs for the full duration of the drag, leading to
the drag target not being focused when the drag ends. This leads to
unexpected focus behavior, especially for the keyboard which requires
toggling focus away and back to set.

We can only fix the focus once the grabs are released, so refocus the
seat when the wlr_drag destroy event is received.

Closes: https://github.com/swaywm/sway/issues/5116
2020-06-30 13:27:51 +02:00
..
cursor.c input/pointer: don't trigger pointer bindings for emulated input 2020-06-18 22:35:01 +02:00
input-manager.c input: disable events for map_to_output devices when output not present 2020-06-19 10:02:22 +02:00
keyboard.c input/keyboard: wlr_keyboard_group enter and leave 2020-06-16 17:53:23 +02:00
libinput.c input: disable events for map_to_output devices when output not present 2020-06-19 10:02:22 +02:00
seat.c seat: Refocus seat when wlr_drag is destroyed 2020-06-30 13:27:51 +02:00
seatop_default.c input/pointer: correctly handle bindings for synthetic events 2020-06-25 21:32:15 +02:00
seatop_down.c input/cursor: refactor tablet tool tip events into seatops 2020-06-04 10:20:32 +02:00
seatop_move_floating.c input/tablet: allow moving floating tablet v2 surfaces by pen input 2020-06-07 10:46:14 +02:00
seatop_move_tiling.c input/tablet: allow moving tiling tablet v2 surfaces by pen input 2020-06-07 10:46:14 +02:00
seatop_resize_floating.c Use new wlroots API for clearing keyboard/pointer focus during grabs 2020-06-05 17:24:23 +02:00
seatop_resize_tiling.c Use new wlroots API for clearing keyboard/pointer focus during grabs 2020-06-05 17:24:23 +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