diff options
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r-- | sway/tree/workspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index 5568d1f5..0fa28951 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c @@ -709,7 +709,7 @@ void workspace_add_gaps(struct sway_workspace *ws) { if (focus && !focus->view) { focus = seat_get_focus_inactive_view(seat, &focus->node); } - if (focus && focus->view && view_is_only_visible(focus->view)) { + if (focus && focus->view && view_ancestor_is_only_visible(focus->view)) { ws->current_gaps.top = 0; ws->current_gaps.right = 0; ws->current_gaps.bottom = 0; |