From: Michael Stapelberg Date: Sat, 6 Mar 2010 15:58:20 +0000 (+0100) Subject: For num_clients == 0, the last fix is also valid X-Git-Tag: 3.e~6^2~109 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=46642d0e455034c90e4783a2855296441931abd0;p=i3%2Fi3 For num_clients == 0, the last fix is also valid --- 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;