mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Reload environment on SIGHUP. Partly fixes #227
This commit is contained in:
parent
e1328c055d
commit
53df672dda
1 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
||||||
#include <wlr/types/wlr_screencopy_v1.h>
|
#include <wlr/types/wlr_screencopy_v1.h>
|
||||||
#include <wlr/types/wlr_viewporter.h>
|
#include <wlr/types/wlr_viewporter.h>
|
||||||
#include "config/rcxml.h"
|
#include "config/rcxml.h"
|
||||||
|
#include "config/session.h"
|
||||||
#include "labwc.h"
|
#include "labwc.h"
|
||||||
#include "layers.h"
|
#include "layers.h"
|
||||||
#include "menu/menu.h"
|
#include "menu/menu.h"
|
||||||
|
|
@ -50,6 +51,7 @@ reload_config_and_theme(void)
|
||||||
static int
|
static int
|
||||||
handle_sighup(int signal, void *data)
|
handle_sighup(int signal, void *data)
|
||||||
{
|
{
|
||||||
|
session_environment_init();
|
||||||
reload_config_and_theme();
|
reload_config_and_theme();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue