mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Include "focused" in client flags, from Dan Aloni in GitHub issue 2558.
This commit is contained in:
parent
1e29ebd412
commit
c579be1f2a
@ -2454,6 +2454,8 @@ server_client_get_flags(struct client *c)
|
|||||||
*s = '\0';
|
*s = '\0';
|
||||||
if (c->flags & CLIENT_ATTACHED)
|
if (c->flags & CLIENT_ATTACHED)
|
||||||
strlcat(s, "attached,", sizeof s);
|
strlcat(s, "attached,", sizeof s);
|
||||||
|
if (c->flags & CLIENT_FOCUSED)
|
||||||
|
strlcat(s, "focused,", sizeof s);
|
||||||
if (c->flags & CLIENT_CONTROL)
|
if (c->flags & CLIENT_CONTROL)
|
||||||
strlcat(s, "control-mode,", sizeof s);
|
strlcat(s, "control-mode,", sizeof s);
|
||||||
if (c->flags & CLIENT_IGNORESIZE)
|
if (c->flags & CLIENT_IGNORESIZE)
|
||||||
|
Loading…
Reference in New Issue
Block a user