aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-12 08:29:37 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-12 08:29:37 -0500
commit163edc5a900fda58e006ed30e14ae10cc4aa13b3 (patch)
treea43e355091da4545bf9f16c63accb7d853170195 /sway/desktop/output.c
parent462a451328a1d6f0b17d34b431d6bf3dec87c1ba (diff)
sway input device
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 0e7f7060..af067326 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -136,10 +136,7 @@ void output_add_notify(struct wl_listener *listener, void *data) {
output->resolution.notify = output_resolution_notify;
wl_signal_add(&wlr_output->events.resolution, &output->resolution);
- for (int i = 0; i < server->input->seats->length; ++i) {
- struct sway_seat *seat = server->input->seats->items[i];
- sway_seat_configure_xcursor(seat);
- }
+ sway_input_manager_configure_xcursor(input_manager);
arrange_windows(output->swayc, -1, -1);
}