summaryrefslogtreecommitdiff
path: root/sway/desktop/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r--sway/desktop/render.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c
index 8510cf68..611c3ac3 100644
--- a/sway/desktop/render.c
+++ b/sway/desktop/render.c
@@ -1399,6 +1399,10 @@ static void render_containers_linear(struct sway_output *output,
for (int i = 0; i < parent->children->length; ++i) {
struct sway_container *child = parent->children->items[i];
+ if (container_is_scratchpad_hidden(child)) {
+ continue;
+ }
+
if (child->view) {
struct sway_view *view = child->view;
struct border_colors *colors;