summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ecore/src/lib/ecore_x/ecore_x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecore/src/lib/ecore_x/ecore_x.c b/ecore/src/lib/ecore_x/ecore_x.c
index cbbb32d..f71ed7c 100644
--- a/ecore/src/lib/ecore_x/ecore_x.c
+++ b/ecore/src/lib/ecore_x/ecore_x.c
@@ -232,7 +232,7 @@ ecore_x_init(const char *name)
_ecore_x_event_scrnsaver_id = scrnsaver_base + ScreenSaverNotify;
- if (XScreenSaverQueryVersion(ecore_x_disp, v_major, v_minor))
+ if (!XScreenSaverQueryVersion(ecore_x_disp, v_major, v_minor))
_ecore_x_event_scrnsaver_id = 0;
}