aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-06-26 20:31:32 -0700
committerGitHub <noreply@github.com>2018-06-26 20:31:32 -0700
commit152ccd7fb14dc0f09f9c6f902f727f7addf7657a (patch)
tree0c0951e0ec5c36a6de14535903092b539bdbbf9b /sway/input
parentf0f50c31d5e40f3dbe80c60d01bafc80c3bd24c0 (diff)
parentbf380813829b11d42ff0703630600e5bee06098b (diff)
downloadsway-152ccd7fb14dc0f09f9c6f902f727f7addf7657a.tar.xz
Merge pull request #2145 from emersion/xwayland-wants-float
Automatically float xwayland windows
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/seat.c3
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);