diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-07-30 10:23:39 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-07-30 10:36:32 +0000 |
| commit | 6eedc88d70520456fbb89db2600e762e722fe313 (patch) | |
| tree | 0dbf5de4a27cc824fe8c22a907e6cdfb397c692f /server.h | |
| parent | slave: remove more environment variables set by other terminals (diff) | |
server: sigusr1/2: update conf object with the "new" theme
When sending SIGUSR1/SIGUSR2 to a server process, all currently
running client instances change their theme. But before this patch,
all future instances used the original theme. With this patch, the
server owned config object is updated with the selected theme, thus
making new instances use the same theme as well.
Diffstat (limited to 'server.h')
| -rw-r--r-- | server.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -6,6 +6,9 @@ #include "wayland.h" struct server; -struct server *server_init(const struct config *conf, struct fdm *fdm, +struct server *server_init(struct config *conf, struct fdm *fdm, struct reaper *reaper, struct wayland *wayl); void server_destroy(struct server *server); + +void server_global_theme_switch_to_1(struct server *server); +void server_global_theme_switch_to_2(struct server *server); |
