projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebf1318
)
only create wayland screensaver timer in wayland mode
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 23 Nov 2015 19:46:32 +0000
(14:46 -0500)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 23 Nov 2015 19:47:37 +0000
(14:47 -0500)
probably fix T2867
src/bin/e_screensaver.c
patch
|
blob
|
history
diff --git
a/src/bin/e_screensaver.c
b/src/bin/e_screensaver.c
index
cedfcae
..
41b10b6
100644
(file)
--- a/
src/bin/e_screensaver.c
+++ b/
src/bin/e_screensaver.c
@@
-287,7
+287,7
@@
_e_screensaver_handler_screensaver_off_cb(void *data EINA_UNUSED, int type EINA_
else if (_e_screensaver_ask_presentation_count)
_e_screensaver_ask_presentation_count = 0;
#ifdef HAVE_WAYLAND
- if (_e_screensaver_timeout)
+ if (_e_screensaver_timeout
&& (e_comp->comp_type == E_PIXMAP_TYPE_WL)
)
_e_screensaver_timer = ecore_timer_add(_e_screensaver_timeout, _e_screensaver_idle_timeout_cb, (void*)1);
#endif
return ECORE_CALLBACK_PASS_ON;