devilhorns pushed a commit to branch master.

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

commit 3520cd58032afb7bc9a63ce6fede5585b2b0b700
Author: Chris Michael <[email protected]>
Date:   Fri Jan 16 14:44:23 2015 -0500

    add fixme note about desklock timeouts not working in wayland
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_desklock.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/bin/e_desklock.c b/src/bin/e_desklock.c
index b0d8b3e..430e5de 100644
--- a/src/bin/e_desklock.c
+++ b/src/bin/e_desklock.c
@@ -426,6 +426,12 @@ _e_desklock_cb_idle_poller(void *data __UNUSED__)
 #ifndef HAVE_WAYLAND_ONLY
         idle = ecore_x_screensaver_idle_time_get();
 #endif
+        /* FIXME: We need to get the idle time from ecore_wayland or 
+         * ecore_drm here. The problem is, we do not link to ecore_drm library 
+         * other than the wl_drm module, and idle_time from ecore_wayland 
+         * library will only work if the comp->ee is created using 
+         * ecore_evas_wayland */
+
         max = e_config->desklock_autolock_idle_timeout;
         if (_e_desklock_ask_presentation_count > 0)
           max *= (1 + _e_desklock_ask_presentation_count);

-- 


Reply via email to