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); }