discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a12768c465dbe68627891199b4613a5978c30edc

commit a12768c465dbe68627891199b4613a5978c30edc
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Thu Jan 16 20:09:12 2014 -0500

    quick screensaver blocking hack for non-X instances
---
 src/bin/e_screensaver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_screensaver.c b/src/bin/e_screensaver.c
index ff46bc4..6843f49 100644
--- a/src/bin/e_screensaver.c
+++ b/src/bin/e_screensaver.c
@@ -95,6 +95,7 @@ e_screensaver_force_update(void)
    int timeout = e_screensaver_timeout_get(EINA_TRUE);
 #ifdef WAYLAND_ONLY
 #else
+   if (!getenv("DISPLAY")) return;
    ecore_x_screensaver_set(timeout + 10,
                            0,
 //                           e_config->screensaver_interval,

-- 


Reply via email to