For num_clients == 0, the last fix is also valid
This commit is contained in:
parent
afc922ef57
commit
46642d0e45
|
@ -460,7 +460,7 @@ void render_container(xcb_connection_t *conn, Container *container) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prepare the pixmap for usage */
|
/* Prepare the pixmap for usage */
|
||||||
if (num_clients != 1)
|
if (num_clients > 1)
|
||||||
cached_pixmap_prepare(conn, &(stack_win->pixmap));
|
cached_pixmap_prepare(conn, &(stack_win->pixmap));
|
||||||
|
|
||||||
int current_row = 0, current_col = 0;
|
int current_row = 0, current_col = 0;
|
||||||
|
|
Loading…
Reference in New Issue