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 a5db15cd..cfb5a710 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -232,7 +232,7 @@ static void scale_box(struct wlr_box *box, float scale) { | |||
232 | 232 | ||
233 | struct sway_workspace *output_get_active_workspace(struct sway_output *output) { | 233 | struct sway_workspace *output_get_active_workspace(struct sway_output *output) { |
234 | struct sway_seat *seat = input_manager_current_seat(input_manager); | 234 | struct sway_seat *seat = input_manager_current_seat(input_manager); |
235 | struct sway_node *focus = seat_get_active_child(seat, &output->node); | 235 | struct sway_node *focus = seat_get_active_tiling_child(seat, &output->node); |
236 | if (!focus) { | 236 | if (!focus) { |
237 | return output->workspaces->items[0]; | 237 | return output->workspaces->items[0]; |
238 | } | 238 | } |