aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-04 22:12:32 -0400
committerGitHub <noreply@github.com>2018-04-04 22:12:32 -0400
commit21aedf15052df4e7f8ee72922fa0e214d690facc (patch)
tree42039b2d318ab944dd148990329b4a2cf94fd9a3 /sway/input
parent5a646221815f6793f844412b82b185b415b32157 (diff)
parent44b8d30f5254628f8e6d5a12010f6e5f810d756e (diff)
downloadsway-21aedf15052df4e7f8ee72922fa0e214d690facc.tar.xz
Merge pull request #1732 from emersion/view-children
Update for wlroots#824
Diffstat (limited to 'sway/input')
-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,
return;
}
struct sway_view *view = con->sway_view;
- if (view->type == SWAY_XWAYLAND_VIEW) {
+ if (view->type == SWAY_VIEW_XWAYLAND) {
struct wlr_xwayland *xwayland =
seat->input->server->xwayland;
wlr_xwayland_set_seat(xwayland, seat->wlr_seat);