diff options
author | Kenny Levinsen <[email protected]> | 2020-06-28 15:33:03 +0200 |
---|---|---|
committer | Simon Ser <[email protected]> | 2020-06-30 13:27:51 +0200 |
commit | 492267a5d6924e4f3a2e2326240eb064c3d2d7c2 (patch) | |
tree | 148ca8c082dfb1971e2c7237bba1143c546bc860 /sway/tree/container.c | |
parent | d0f7e0f481a2b2e03a700d55570a3f85655ef03c (diff) |
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
Diffstat (limited to 'sway/tree/container.c')
0 files changed, 0 insertions, 0 deletions