]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Don’t render containers which are not visible upon hint changes
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 29 Mar 2010 17:18:45 +0000 (19:18 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 29 Mar 2010 17:18:45 +0000 (19:18 +0200)
src/handlers.c

index 624c34305d5bd78caa9bcdbe89ab6291ad0e5095..67b377f8ccf9f4e6aa3015cf597ffa2e61bfe12a 100644 (file)
@@ -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);
         }