Added client flag to enable the new format when in control mode. Added

back the old format which is dispatched to. Also added attributes to the
format.
This commit is contained in:
Dane Jensen
2026-07-12 22:08:24 -07:00
parent 69d9697cd5
commit 568925a757
5 changed files with 301 additions and 71 deletions

View File

@@ -2986,6 +2986,8 @@ server_client_control_flags(struct client *c, const char *next)
return (CLIENT_CONTROL_NOOUTPUT);
if (strcmp(next, "wait-exit") == 0)
return (CLIENT_CONTROL_WAITEXIT);
if (strcmp(next, "new-layouts") == 0)
return (CLIENT_CONTROL_NEWLAYOUTS);
return (0);
}