Tabbed and stacked layout

This commit is contained in:
Mikkel Oscar Lyderik 2016-04-01 00:04:08 +02:00
parent 7efa9ab34a
commit ec7ff769c7
6 changed files with 254 additions and 80 deletions

View file

@ -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) {