aboutsummaryrefslogtreecommitdiff
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 7deb2b19..54cd3bf7 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -465,6 +465,7 @@ static void dispatch_cursor_button_floating(struct sway_cursor *cursor,
}
// Send event to surface
+ seat_set_focus(seat, cont);
seat_pointer_notify_button(seat, time_msec, button, state);
}