diff options
author | emersion <contact@emersion.fr> | 2018-06-18 22:49:28 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-06-18 22:52:10 +0100 |
commit | cda66e9a263d8467b6d1857808305d5e9f7bc3cd (patch) | |
tree | 7e773d03ea9cecf959ba75598fd1a2d18dbd604c /sway/input | |
parent | 202ee511503bc7c6a18dec440ac3cdb8d5e8f859 (diff) |
Automatically float xwayland windows
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/seat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index 1ea36466..1c2434b0 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -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); |