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 | 7efa9ab34ae1dabcc7c87d22bfba0b1312c8c662 (diff) |
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) { if (parent->type == C_OUTPUT || parent->layout == L_TABBED || parent->layout == L_STACKED) { - container->visible = parent->focused == container; + container->visible = parent->focused == container && parent->visible; } // Set visibility and output for view if (container->type == C_VIEW) { |