diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index fc52dd28..018a7285 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -235,7 +235,7 @@ static void scale_box(struct wlr_box *box, float scale) { | |||
235 | } | 235 | } |
236 | 236 | ||
237 | struct sway_workspace *output_get_active_workspace(struct sway_output *output) { | 237 | struct sway_workspace *output_get_active_workspace(struct sway_output *output) { |
238 | struct sway_seat *seat = input_manager_current_seat(input_manager); | 238 | struct sway_seat *seat = input_manager_current_seat(); |
239 | struct sway_node *focus = seat_get_active_tiling_child(seat, &output->node); | 239 | struct sway_node *focus = seat_get_active_tiling_child(seat, &output->node); |
240 | if (!focus) { | 240 | if (!focus) { |
241 | return output->workspaces->items[0]; | 241 | return output->workspaces->items[0]; |