]> git.sur5r.net Git - i3/i3/commitdiff
For num_clients == 0, the last fix is also valid
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 6 Mar 2010 15:58:20 +0000 (16:58 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 6 Mar 2010 15:58:20 +0000 (16:58 +0100)
src/layout.c

index 267cfec9a88eed85ab288a2fc746bc3393d42a54..04f9cf60a84b13729753333dc4deba483dcef62b 100644 (file)
@@ -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;