Hi guys,
I currently have set "Lock when idle timer exceeded" and "Lock even on 
fullscreen windows" settings enabled for a desklock.
It doesn't work, so i debugged it a little and with the above options set i've 
got:
e_config->screen_actions_fullscreen_windows_ignore = 1
e_util_fullscreen_any() = 0
this leads to return 0 from a e_desklock_show_autolocked()

I think it's wrong because the desklock doesn't show up after the idle time.
Attached patch fixes it.
Please review

regards!
-- 
Mariusz Białończyk
jabber/e-mail: ma...@skyboo.net
https://github.com/manio
diff --git a/src/bin/e_desklock.c b/src/bin/e_desklock.c
index c06796c..d50dfea 100644
--- a/src/bin/e_desklock.c
+++ b/src/bin/e_desklock.c
@@ -200,8 +200,8 @@ _user_wallpaper_get(E_Zone *zone)
 EAPI int
 e_desklock_show_autolocked(void)
 {
-   if ((e_config->screen_actions_fullscreen_windows_ignore) ||
-       ((!e_config->screen_actions_fullscreen_windows_ignore) && (!e_util_fullscreen_any())))
+   if (!((e_config->screen_actions_fullscreen_windows_ignore) ||
+       ((!e_config->screen_actions_fullscreen_windows_ignore) && (!e_util_fullscreen_any()))))
       return 0;
    if (_e_desklock_autolock_time < 1.0)
      _e_desklock_autolock_time = ecore_loop_time_get();
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to