diff --git a/WINGs/wevent_wl.c b/WINGs/wevent_wl.c index 2c6fbe2..b1e438c 100644 --- a/WINGs/wevent_wl.c +++ b/WINGs/wevent_wl.c @@ -17,6 +17,8 @@ #include #include +#include +#include #include /* ------------------------------------------------------------------ */ @@ -373,7 +375,11 @@ static void wl_keysym_convert_case(void *ectx, WMNativeKeysym sym, } static void wl_send_wm_command(void *ectx, const char *cmd) -{ (void)ectx; (void)cmd; /* TODO: signal wmaker via PID file */ } +{ + (void)ectx; + if (cmd && strcmp(cmd, "Reconfigure") == 0) + kill(getppid(), SIGUSR2); +} static void wl_set_window_hints(void *ectx, WNativeWindow w, int minw, int minh, int maxw, int maxh, int bw, int bh)