mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Don't send invisble view to back
This commit is contained in:
parent
5886ee156e
commit
5a22c0f1c0
1 changed files with 0 additions and 3 deletions
|
@ -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