aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-04-04 15:53:46 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-04-04 22:03:14 -0400
commit8eff00f72395add1881aa677e3c718c0554cb096 (patch)
tree803dc03246326c754732f3b8f635d8a67a2a3441 /sway/input/seat.c
parentRemove unused sway_view.unmanaged_link (diff)
downloadsway-8eff00f72395add1881aa677e3c718c0554cb096.tar.gz
sway-8eff00f72395add1881aa677e3c718c0554cb096.tar.zst
sway-8eff00f72395add1881aa677e3c718c0554cb096.zip
Remove unused SWAY_VIEW_TYPES
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 0699324a..87dbd870 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -66,7 +66,7 @@ static void seat_send_focus(struct sway_seat *seat,
66 return; 66 return;
67 } 67 }
68 struct sway_view *view = con->sway_view; 68 struct sway_view *view = con->sway_view;
69 if (view->type == SWAY_XWAYLAND_VIEW) { 69 if (view->type == SWAY_VIEW_XWAYLAND) {
70 struct wlr_xwayland *xwayland = 70 struct wlr_xwayland *xwayland =
71 seat->input->server->xwayland; 71 seat->input->server->xwayland;
72 wlr_xwayland_set_seat(xwayland, seat->wlr_seat); 72 wlr_xwayland_set_seat(xwayland, seat->wlr_seat);