commit 350e9ea9293a4c185734ecda9d77ee2fd13502d2
parent c299b6b5cd72ce186baa9a0a1cc09a4293431d74
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date: Thu, 19 Jul 2018 15:20:43 +1000
Fix clicking xwayland menus
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
@@ -569,6 +569,9 @@ void dispatch_cursor_button(struct sway_cursor *cursor,
seat_set_focus(cursor->seat, cont);
wlr_seat_pointer_notify_button(cursor->seat->wlr_seat,
time_msec, button, state);
+ } else {
+ wlr_seat_pointer_notify_button(cursor->seat->wlr_seat,
+ time_msec, button, state);
}
transaction_commit_dirty();