fluxbox-update_configs.cc: Fix on windows - no kill or sigusr2
This commit is contained in:
parent
3ca61475fb
commit
5cb7326d22
1 changed files with 2 additions and 2 deletions
|
@ -651,11 +651,11 @@ int main(int argc, char **argv) {
|
|||
resource_manager.save(rc_filename.c_str(), rc_filename.c_str());
|
||||
save_all_files();
|
||||
|
||||
#ifdef HAVE_SIGNAL_H
|
||||
#if defined(HAVE_SIGNAL_H) && !defined(_WIN32)
|
||||
// if we were given a fluxbox pid, send it a reconfigure signal
|
||||
if (fb_pid > 0)
|
||||
kill(fb_pid, SIGUSR2);
|
||||
#endif // HAVE_SIGNAL_H
|
||||
#endif // defined(HAVE_SIGNAL_H) && !defined(_WIN32)
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue