aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-19 15:20:43 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-22 23:10:19 +1000
commit350e9ea9293a4c185734ecda9d77ee2fd13502d2 (patch)
tree6b2c15e2371bf37f2251539b37955ad13a1b9d1a
parentUse max multiplier when resizing while preserving ratio (diff)
downloadsway-350e9ea9293a4c185734ecda9d77ee2fd13502d2.tar.gz
sway-350e9ea9293a4c185734ecda9d77ee2fd13502d2.tar.zst
sway-350e9ea9293a4c185734ecda9d77ee2fd13502d2.zip
Fix clicking xwayland menus
-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();