summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,
465 } 465 }
466 466
467 // Send event to surface 467 // Send event to surface
468 seat_set_focus(seat, cont);
468 seat_pointer_notify_button(seat, time_msec, button, state); 469 seat_pointer_notify_button(seat, time_msec, button, state);
469} 470}
470 471