Let's not try to lock twice

Causes funky things like black rectangles over the lockscreen and
somewhoe kills focus of popups after unlocking.
This commit is contained in:
Iván Briano 2013-12-27 16:09:51 -02:00
parent d620f743f5
commit e31e5917ef
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ e_desklock_show(Eina_Bool suspend)
E_Desklock_Show_Cb show_cb;
E_Desklock_Hide_Cb hide_cb;
if (_e_custom_desklock_exe) return 0;
if (_e_desklock_state || _e_custom_desklock_exe) return 0;
if (e_desklock_is_external() && e_config->desklock_custom_desklock_cmd && e_config->desklock_custom_desklock_cmd[0])
{