From 5a22c0f1c08eddc84a738e8de74dcfab33f41dcf Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Sun, 24 Apr 2016 21:54:33 +0200 Subject: [PATCH] Don't send invisble view to back --- sway/container.c | 3 --- 1 file changed, 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) { if (container->type == C_VIEW) { wlc_view_set_output(container->handle, output); wlc_view_set_mask(container->handle, container->visible ? VISIBLE : 0); - if (!container->visible) { - wlc_view_send_to_back(container->handle); - } } // Update visibility for children else {