Bugfix: Don’t render containers which are not visible upon hint changes
This commit is contained in:
parent
a6d22f005d
commit
6016b6333f
|
@ -960,7 +960,7 @@ int handle_normal_hints(void *data, xcb_connection_t *conn, uint8_t state, xcb_w
|
||||||
|
|
||||||
client->force_reconfigure = true;
|
client->force_reconfigure = true;
|
||||||
|
|
||||||
if (client->container != NULL) {
|
if (client->container != NULL && workspace_is_visible(client->workspace)) {
|
||||||
render_container(conn, client->container);
|
render_container(conn, client->container);
|
||||||
xcb_flush(conn);
|
xcb_flush(conn);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue