diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-04-01 00:04:08 +0200 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-04-25 00:00:49 +0200 |
commit | ec7ff769c7b4da616ebe6bfd90b70350dd39e166 (patch) | |
tree | 7a6452e1d9ae7da06f5b846cf819a2db8d161cf0 /sway/container.c | |
parent | Merge pull request #601 from Hummer12007/pango_markup_config (diff) | |
download | sway-ec7ff769c7b4da616ebe6bfd90b70350dd39e166.tar.gz sway-ec7ff769c7b4da616ebe6bfd90b70350dd39e166.tar.zst sway-ec7ff769c7b4da616ebe6bfd90b70350dd39e166.zip |
Tabbed and stacked layout
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) { |