mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
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.
14 lines
413 B
C
14 lines
413 B
C
#pragma once
|
|
|
|
#include "fdm.h"
|
|
#include "config.h"
|
|
#include "reaper.h"
|
|
#include "wayland.h"
|
|
|
|
struct server;
|
|
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);
|