aboutsummaryrefslogtreecommitdiff
path: root/client-protocol.h (unfollow)
Commit message (Collapse)AuthorLines
2025-08-01server/client: add support for sending SIGUSR to footclientDaniel Eklöf-0/+14
This patch adds the IPC infrastructure necessary to propagate SIGUSR1/SIGUSR2 from a footclient process to the server process. By targeting a particular footclient instance, only that particular instance changes theme. This is different from when targeting the server process, where all instances change theme. Closes #2156
2022-04-12client: add -E,--client-environmentDaniel Eklöf-1/+3
When this option is used, the child process in the new terminal instance will inherit its environment from the footclient process, instead of the foot server’s. Implemented by sending (yet another) dynamic string list as part of the client -> server setup packet. When the new option is *not* used, the setup packet is now 2 bytes larger than before. On the server side, the slave process now uses execvpe() instead of execvp(). There’s plumbing to propagate a new ‘envp’ argument from term_init() all the way down to slave_exec(). If ‘envp’ is NULL, we use ‘environ’ instead (thus matching the old behavior of execvp()). Closes #1004
2021-11-01foot/client: implement xdga client activationRonan Pigott-2/+5
This is an application of the xdg activation protocol that will allow compositors to associate new foot toplevels with the command that launched them. footclient receives an activation token from the launcher which the compositor can use to track application startup. It passes the token to the foot server, which then activates the new window with the token to complete the startup sequence.
2021-06-23client: send overrides for everything that is publicly visible in the confDaniel Eklöf-19/+10
Send a generic “overrides” list to the server, containing options in text, on the format “section.key=value”. This reduces the size of the base client/server protocol packet, as well as opens up for a generic -o,--override command line option (not yet implemented).
2021-03-13add option to detach the client process from the terminal instanceFelipe Trzaskowski-0/+1
2020-11-22client: add "--window-size-pixels" and "--window-size-chars" optionsCraig Barnes-0/+3
2020-11-21client-protocol: codespell: stati -> staticDaniel Eklöf-1/+1
2020-11-21client/server: simplify setup packet handlingDaniel Eklöf-0/+31
Instead of writing (and logging errors for) every parameter, one at a time, send all fixed size data in a single struct, followed by all the variable length data.
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-45/+0
Assume it could be a copy-paste typo. We should check PRIMARY, not CLIPBOARD. Without this fix, we can't use PRIMARY until we copy anything to CLIPBOARD.