|
|
@ -721,9 +721,7 @@ void update_visibility_output(swayc_t *container, wlc_handle output) {
|
|
|
|
if (container->type == C_VIEW) {
|
|
|
|
if (container->type == C_VIEW) {
|
|
|
|
wlc_view_set_output(container->handle, output);
|
|
|
|
wlc_view_set_output(container->handle, output);
|
|
|
|
wlc_view_set_mask(container->handle, container->visible ? VISIBLE : 0);
|
|
|
|
wlc_view_set_mask(container->handle, container->visible ? VISIBLE : 0);
|
|
|
|
if (container->visible) {
|
|
|
|
if (!container->visible) {
|
|
|
|
wlc_view_bring_to_front(container->handle);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
wlc_view_send_to_back(container->handle);
|
|
|
|
wlc_view_send_to_back(container->handle);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|