aboutsummaryrefslogtreecommitdiff
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-16 07:33:23 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-16 07:33:23 -0500
commit9fa70ce426a78921fa61f25f8b30a73a2a7d9ad7 (patch)
tree823cce0da3f7e0dc21c26bef7e639e8370e29b3d /sway/input/cursor.c
parent030fcb64da90242718b7276a4c98cd0b2a346aad (diff)
parent1aab9ae3e74d15e2c346acbab2ef2def59db72eb (diff)
Merge branch 'wlroots' into feature/input
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 3aa2d1bc..24d4642d 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -140,7 +140,8 @@ struct sway_cursor *sway_cursor_create(struct sway_seat *seat) {
}
cursor->seat = seat;
- wlr_cursor_attach_output_layout(wlr_cursor, root_container.output_layout);
+ wlr_cursor_attach_output_layout(wlr_cursor,
+ root_container.sway_root->output_layout);
// input events
wl_signal_add(&wlr_cursor->events.motion, &cursor->motion);