summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2019-04-17 12:43:57 +0930
committerDaniel Jones <admin@danieljon.es>2019-04-17 12:43:57 +0930
commit2818f1634b0b1b76cf2f5c0091baf7b4233b85c7 (patch)
treea25debbc2ad30e4242b07163c9c7eb6573e40d9e
parent4a337127c79402bb23909f855e06a47dcad2e606 (diff)
downloadxwake-2818f1634b0b1b76cf2f5c0091baf7b4233b85c7.tar.gz
xwake-2818f1634b0b1b76cf2f5c0091baf7b4233b85c7.zip
removed wrong print
-rw-r--r--xwake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwake.c b/xwake.c
index 6ad6775..32d1dd2 100644
--- a/xwake.c
+++ b/xwake.c
@@ -71,6 +71,7 @@ main(int argc, char *argv[])
{
if (strcmp(argv[1], "reset") == 0)
{
+ puts("enabling screensaver and exiting");
XScreenSaverSuspend(dsp, False);
XFlush(dsp);
XCloseDisplay(dsp);
@@ -90,7 +91,6 @@ main(int argc, char *argv[])
XScreenSaverSuspend(dsp, True);
XFlush(dsp);
setwontsleep = 1;
- puts("wont sleep");
}
else if (setwontsleep == 1 && endarr[0] == time[0] && endarr[1] == time[1])
{