Don't send invisble view to back
This commit is contained in:
parent
5886ee156e
commit
5a22c0f1c0
|
@ -732,9 +732,6 @@ 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) {
|
|
||||||
wlc_view_send_to_back(container->handle);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// Update visibility for children
|
// Update visibility for children
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue