From 46642d0e455034c90e4783a2855296441931abd0 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 6 Mar 2010 16:58:20 +0100 Subject: [PATCH] For num_clients == 0, the last fix is also valid --- src/layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout.c b/src/layout.c index 267cfec9..04f9cf60 100644 --- a/src/layout.c +++ b/src/layout.c @@ -460,7 +460,7 @@ void render_container(xcb_connection_t *conn, Container *container) { } /* Prepare the pixmap for usage */ - if (num_clients != 1) + if (num_clients > 1) cached_pixmap_prepare(conn, &(stack_win->pixmap)); int current_row = 0, current_col = 0; -- 2.39.5