mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
Fix clicking xwayland menus
This commit is contained in:
parent
c299b6b5cd
commit
350e9ea929
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue