For num_clients == 0, the last fix is also valid

This commit is contained in:
Michael Stapelberg 2010-03-06 16:58:20 +01:00
parent afc922ef57
commit 46642d0e45
1 changed files with 1 additions and 1 deletions

View 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;