mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
Automatically float xwayland windows
This commit is contained in:
parent
202ee51150
commit
cda66e9a26
7 changed files with 116 additions and 26 deletions
|
|
@ -99,7 +99,8 @@ static void seat_send_focus(struct sway_container *con,
|
|||
if (con->type == C_VIEW
|
||||
&& seat_is_input_allowed(seat, con->sway_view->surface)) {
|
||||
if (con->sway_view->type == SWAY_VIEW_XWAYLAND) {
|
||||
struct wlr_xwayland *xwayland = seat->input->server->xwayland;
|
||||
struct wlr_xwayland *xwayland =
|
||||
seat->input->server->xwayland.wlr_xwayland;
|
||||
wlr_xwayland_set_seat(xwayland, seat->wlr_seat);
|
||||
}
|
||||
struct wlr_keyboard *keyboard = wlr_seat_get_keyboard(seat->wlr_seat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue