diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 7eb48bdf..d2003834 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -12,6 +12,8 @@ | |||
12 | #include "sway/output.h" | 12 | #include "sway/output.h" |
13 | #include "sway/server.h" | 13 | #include "sway/server.h" |
14 | #include "sway/view.h" | 14 | #include "sway/view.h" |
15 | #include "sway/input/input-manager.h" | ||
16 | #include "sway/input/seat.h" | ||
15 | 17 | ||
16 | static void output_frame_view(swayc_t *view, void *data) { | 18 | static void output_frame_view(swayc_t *view, void *data) { |
17 | struct sway_output *output = data; | 19 | struct sway_output *output = data; |
@@ -120,6 +122,11 @@ void output_add_notify(struct wl_listener *listener, void *data) { | |||
120 | output->resolution.notify = output_resolution_notify; | 122 | output->resolution.notify = output_resolution_notify; |
121 | wl_signal_add(&wlr_output->events.resolution, &output->resolution); | 123 | wl_signal_add(&wlr_output->events.resolution, &output->resolution); |
122 | 124 | ||
125 | for (int i = 0; i < server->input->seats->length; ++i) { | ||
126 | struct sway_seat *seat = server->input->seats->items[i]; | ||
127 | sway_seat_configure_xcursor(seat); | ||
128 | } | ||
129 | |||
123 | arrange_windows(output->swayc, -1, -1); | 130 | arrange_windows(output->swayc, -1, -1); |
124 | } | 131 | } |
125 | 132 | ||