summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-01-26 14:51:17 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-26 14:52:03 -0500
commitbf8fde1948ddcd30b8bc8b88414eaec67ef15cd3 (patch)
treeefbbc03a4a615a4ace173556dd930251680d9450
parente647105421cff9b1ab95557317e939cc81a7c10a (diff)
downloadenlightenment-bf8fde1948ddcd30b8bc8b88414eaec67ef15cd3.tar.gz
make desklock timeouts work in wayland-only. Fixes T1818
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/bin/e_desklock.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bin/e_desklock.c b/src/bin/e_desklock.c
index 430e5de168..8a72f509d4 100644
--- a/src/bin/e_desklock.c
+++ b/src/bin/e_desklock.c
@@ -425,12 +425,9 @@ _e_desklock_cb_idle_poller(void *data __UNUSED__)
#ifndef HAVE_WAYLAND_ONLY
idle = ecore_x_screensaver_idle_time_get();
+#else
+ idle = e_comp_wl_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)