Fix clicking xwayland menus

This commit is contained in:
Ryan Dwyer 2018-07-19 15:20:43 +10:00
parent c299b6b5cd
commit 350e9ea929

View file

@ -569,6 +569,9 @@ void dispatch_cursor_button(struct sway_cursor *cursor,
seat_set_focus(cursor->seat, cont); seat_set_focus(cursor->seat, cont);
wlr_seat_pointer_notify_button(cursor->seat->wlr_seat, wlr_seat_pointer_notify_button(cursor->seat->wlr_seat,
time_msec, button, state); time_msec, button, state);
} else {
wlr_seat_pointer_notify_button(cursor->seat->wlr_seat,
time_msec, button, state);
} }
transaction_commit_dirty(); transaction_commit_dirty();