Include "focused" in client flags, from Dan Aloni in GitHub issue 2558.

pull/2561/head
nicm 2021-02-08 08:33:54 +00:00
parent 1e29ebd412
commit c579be1f2a
1 changed files with 2 additions and 0 deletions

View File

@ -2454,6 +2454,8 @@ server_client_get_flags(struct client *c)
*s = '\0';
if (c->flags & CLIENT_ATTACHED)
strlcat(s, "attached,", sizeof s);
if (c->flags & CLIENT_FOCUSED)
strlcat(s, "focused,", sizeof s);
if (c->flags & CLIENT_CONTROL)
strlcat(s, "control-mode,", sizeof s);
if (c->flags & CLIENT_IGNORESIZE)