Avoid more errors by not trying to re-create a stack win with height == 0
This commit is contained in:
parent
e9ef672c36
commit
afc922ef57
|
@ -460,7 +460,8 @@ void render_container(xcb_connection_t *conn, Container *container) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prepare the pixmap for usage */
|
/* Prepare the pixmap for usage */
|
||||||
cached_pixmap_prepare(conn, &(stack_win->pixmap));
|
if (num_clients != 1)
|
||||||
|
cached_pixmap_prepare(conn, &(stack_win->pixmap));
|
||||||
|
|
||||||
int current_row = 0, current_col = 0;
|
int current_row = 0, current_col = 0;
|
||||||
int wrap = 0;
|
int wrap = 0;
|
||||||
|
|
Loading…
Reference in New Issue