Fix kompmgr not respecting user settings

pull/2/head
Timothy Pearson 13 years ago
parent 864059732e
commit ed123019ba

@ -441,8 +441,9 @@ void handle_siguser (int sig)
{ {
int uidnum; int uidnum;
if (sig == SIGTERM) { if (sig == SIGTERM) {
// Trap this signal and keep running... my_exit_code=0;
return; delete_pid_file();
exit(0);
} }
if (sig == SIGUSR1) { if (sig == SIGUSR1) {
char newuid[1024]; char newuid[1024];

@ -230,7 +230,7 @@ Workspace::Workspace( bool restore )
*kompmgr << "kompmgr"; *kompmgr << "kompmgr";
startKompmgr(); startKompmgr();
} }
else else if (!disable_twin_composition_manager)
{ {
// If kompmgr is already running, send it SIGTERM // If kompmgr is already running, send it SIGTERM
// Attempt to load the kompmgr pid file // Attempt to load the kompmgr pid file

Loading…
Cancel
Save