aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar Rouven Czerwinski <rouven@czerwinskis.de>2020-04-10 09:40:45 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2020-04-15 13:40:38 +0200
commit0efc28e2f58a9a98d219cf2f3a92e18577c9926c (patch)
tree24051a8301eff052bb7e0ba36a43c464fd488b28 /sway/input/cursor.c
parentFix a use-after-free error in switch binding (diff)
downloadsway-0efc28e2f58a9a98d219cf2f3a92e18577c9926c.tar.gz
sway-0efc28e2f58a9a98d219cf2f3a92e18577c9926c.tar.zst
sway-0efc28e2f58a9a98d219cf2f3a92e18577c9926c.zip
input/seatop_default: release on empty workspace
Instead of handling presses and releases on empty workspaces as setting focus to the workspace, handle releases by notifying the seat of a pointer action. This way DnDs are correctly released if the button is released over an empty workspace. This is achieved by removing the early return and letting the handle_button() call seat_pointer_notify_button() at the very end. Fixes #3932
Diffstat (limited to 'sway/input/cursor.c')
0 files changed, 0 insertions, 0 deletions