diff options
author | 2016-04-24 21:54:33 +0200 | |
---|---|---|
committer | 2016-04-25 00:00:49 +0200 | |
commit | 5a22c0f1c08eddc84a738e8de74dcfab33f41dcf (patch) | |
tree | 25c9030f0b0eb8017848b4b6593182d680935e0f /sway | |
parent | Use correct geometry for nested containers (diff) | |
download | sway-5a22c0f1c08eddc84a738e8de74dcfab33f41dcf.tar.gz sway-5a22c0f1c08eddc84a738e8de74dcfab33f41dcf.tar.zst sway-5a22c0f1c08eddc84a738e8de74dcfab33f41dcf.zip |
Don't send invisble view to back
Diffstat (limited to 'sway')
-rw-r--r-- | sway/container.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/container.c b/sway/container.c index 9db81012..d54dfd96 100644 --- a/sway/container.c +++ b/sway/container.c | |||
@@ -732,9 +732,6 @@ void update_visibility_output(swayc_t *container, wlc_handle output) { | |||
732 | if (container->type == C_VIEW) { | 732 | if (container->type == C_VIEW) { |
733 | wlc_view_set_output(container->handle, output); | 733 | wlc_view_set_output(container->handle, output); |
734 | wlc_view_set_mask(container->handle, container->visible ? VISIBLE : 0); | 734 | wlc_view_set_mask(container->handle, container->visible ? VISIBLE : 0); |
735 | if (!container->visible) { | ||
736 | wlc_view_send_to_back(container->handle); | ||
737 | } | ||
738 | } | 735 | } |
739 | // Update visibility for children | 736 | // Update visibility for children |
740 | else { | 737 | else { |