From: Michael Stapelberg Date: Sat, 6 Mar 2010 15:51:17 +0000 (+0100) Subject: Avoid more errors by not trying to re-create a stack win with height == 0 X-Git-Tag: 3.e~6^2~110 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=afc922ef57fd347e79f8c713057fe01c2fbd09ed;p=i3%2Fi3 Avoid more errors by not trying to re-create a stack win with height == 0 --- diff --git a/src/layout.c b/src/layout.c index ddf79f8a..267cfec9 100644 --- a/src/layout.c +++ b/src/layout.c @@ -460,7 +460,8 @@ void render_container(xcb_connection_t *conn, Container *container) { } /* 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 wrap = 0;