]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Reload environment on SIGHUP. Partly fixes #227
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 8 Feb 2022 00:19:24 +0000 (01:19 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 8 Feb 2022 06:08:12 +0000 (06:08 +0000)
src/server.c

index 71eb2bef27e252c7dbf0b8194e4499fec3755e28..450b71e825818d26a030e46f86bb7d06ac0aa7f7 100644 (file)
@@ -11,6 +11,7 @@
 #include <wlr/types/wlr_screencopy_v1.h>
 #include <wlr/types/wlr_viewporter.h>
 #include "config/rcxml.h"
+#include "config/session.h"
 #include "labwc.h"
 #include "layers.h"
 #include "menu/menu.h"
@@ -50,6 +51,7 @@ reload_config_and_theme(void)
 static int
 handle_sighup(int signal, void *data)
 {
+       session_environment_init();
        reload_config_and_theme();
        return 0;
 }