From: Michael Stapelberg Date: Mon, 29 Mar 2010 17:18:45 +0000 (+0200) Subject: Bugfix: Don’t render containers which are not visible upon hint changes X-Git-Tag: 3.e~6^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6016b6333f3413c9dcb550f8f9d51749bebf8eb1;p=i3%2Fi3 Bugfix: Don’t render containers which are not visible upon hint changes --- diff --git a/src/handlers.c b/src/handlers.c index 624c3430..67b377f8 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -960,7 +960,7 @@ int handle_normal_hints(void *data, xcb_connection_t *conn, uint8_t state, xcb_w client->force_reconfigure = true; - if (client->container != NULL) { + if (client->container != NULL && workspace_is_visible(client->workspace)) { render_container(conn, client->container); xcb_flush(conn); }