diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-19 15:20:43 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-22 23:10:19 +1000 |
commit | 350e9ea9293a4c185734ecda9d77ee2fd13502d2 (patch) | |
tree | 6b2c15e2371bf37f2251539b37955ad13a1b9d1a | |
parent | c299b6b5cd72ce186baa9a0a1cc09a4293431d74 (diff) | |
download | sway-350e9ea9293a4c185734ecda9d77ee2fd13502d2.tar.xz |
Fix clicking xwayland menus
-rw-r--r-- | sway/input/cursor.c | 3 |
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, 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(); |