mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 09:51:29 +00:00
Fix clicking xwayland menus
This commit is contained in:
parent
c299b6b5cd
commit
350e9ea929
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue