diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index c4265818..5e8a081c 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -228,7 +228,7 @@ static void render_output(struct sway_output *output, struct timespec *when, | |||
228 | 228 | ||
229 | struct sway_seat *seat = input_manager_current_seat(input_manager); | 229 | struct sway_seat *seat = input_manager_current_seat(input_manager); |
230 | struct sway_container *focus = | 230 | struct sway_container *focus = |
231 | sway_seat_get_focus_inactive(seat, output->swayc); | 231 | seat_get_focus_inactive(seat, output->swayc); |
232 | if (!focus) { | 232 | if (!focus) { |
233 | // We've never been to this output before | 233 | // We've never been to this output before |
234 | focus = output->swayc->children->items[0]; | 234 | focus = output->swayc->children->items[0]; |
@@ -373,7 +373,7 @@ void handle_new_output(struct wl_listener *listener, void *data) { | |||
373 | wl_list_init(&output->layers[i]); | 373 | wl_list_init(&output->layers[i]); |
374 | } | 374 | } |
375 | 375 | ||
376 | sway_input_manager_configure_xcursor(input_manager); | 376 | input_manager_configure_xcursor(input_manager); |
377 | 377 | ||
378 | wl_signal_add(&wlr_output->events.destroy, &output->destroy); | 378 | wl_signal_add(&wlr_output->events.destroy, &output->destroy); |
379 | output->destroy.notify = handle_destroy; | 379 | output->destroy.notify = handle_destroy; |