diff options
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/container.c b/sway/container.c index 95a46632..e77ba062 100644 --- a/sway/container.c +++ b/sway/container.c | |||
@@ -725,7 +725,7 @@ void update_visibility_output(swayc_t *container, wlc_handle output) { | |||
725 | if (parent->type == C_OUTPUT | 725 | if (parent->type == C_OUTPUT |
726 | || parent->layout == L_TABBED | 726 | || parent->layout == L_TABBED |
727 | || parent->layout == L_STACKED) { | 727 | || parent->layout == L_STACKED) { |
728 | container->visible = parent->focused == container; | 728 | container->visible = parent->focused == container && parent->visible; |
729 | } | 729 | } |
730 | // Set visibility and output for view | 730 | // Set visibility and output for view |
731 | if (container->type == C_VIEW) { | 731 | if (container->type == C_VIEW) { |