summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornigel <nigel>2006-11-15 04:59:19 +0000
committernigel <nigel>2006-11-15 04:59:19 +0000
commitced42179cd79eb8eab07e6b8baf8adaf11f1b657 (patch)
treee89aaa2d39e6c3450662ac1158f4cf35da827611 /src
parent18993ec029ed9f3890105226ab9e4b57f25f5d4d (diff)
downloadberyl-manager-ced42179cd79eb8eab07e6b8baf8adaf11f1b657.tar.gz
beryl-manager-ced42179cd79eb8eab07e6b8baf8adaf11f1b657.tar.bz2
beryl-manager: Stop beryl being restarted in an infinite
loop when a second SIGUSR2 tells us to switch back after a suspend cycle.
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 094d6fc..13a4031 100644
--- a/src/main.c
+++ b/src/main.c
@@ -132,6 +132,7 @@ signalHandler (int sig)
}
} else {
WM=0;
+ reloadingBeryl=TRUE;
startBeryl();
suspending = 0;
}