summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/input/cursor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index a24a7de8..7a06cf9c 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -569,6 +569,9 @@ void dispatch_cursor_button(struct sway_cursor *cursor,
569 seat_set_focus(cursor->seat, cont); 569 seat_set_focus(cursor->seat, cont);
570 wlr_seat_pointer_notify_button(cursor->seat->wlr_seat, 570 wlr_seat_pointer_notify_button(cursor->seat->wlr_seat,
571 time_msec, button, state); 571 time_msec, button, state);
572 } else {
573 wlr_seat_pointer_notify_button(cursor->seat->wlr_seat,
574 time_msec, button, state);
572 } 575 }
573 576
574 transaction_commit_dirty(); 577 transaction_commit_dirty();