summaryrefslogtreecommitdiff
path: root/src/screensaver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/screensaver.cpp')
-rw-r--r--src/screensaver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screensaver.cpp b/src/screensaver.cpp
index 3a38224..e2001bc 100644
--- a/src/screensaver.cpp
+++ b/src/screensaver.cpp
@@ -192,7 +192,7 @@ ScreenSaverScreen::setXScreenSaver (bool enabled)
{
Window root = screen->root ();
- if (enabled && mXSSContext.init)
+ if (enabled && !mXSSContext.init)
{
int dummy;
long unsigned int mask = 0;