#include "log.h"
#include "ewmh.h"
#include "manage.h"
+#include "workspace.h"
static iconv_t conversion_descriptor = 0;
struct keyvalue_table_head by_parent = TAILQ_HEAD_INITIALIZER(by_parent);
redecorate_window(conn, current);
break;
}
-
}
SLIST_REMOVE(&(client->workspace->focus_stack), client, Client, focus_clients);
SLIST_INSERT_HEAD(&(client->workspace->focus_stack), client, focus_clients);
+ /* Clear the urgency flag if set (necessary when i3 sets the flag, for
+ * example when automatically putting windows on the workspace of their
+ * leader) */
+ client->urgent = false;
+ workspace_update_urgent_flag(client->workspace);
+
/* If we’re in stacking mode, this renders the container to update changes in the title
bars and to raise the focused client */
if ((old_client != NULL) && (old_client != client) && !old_client->dock)