forked from enlightenment/enlightenment
check for a custom desklock command before actually trying to lock using one: closes ticket #664
SVN revision: 71837
This commit is contained in:
parent
b78a276183
commit
53090a686f
|
@ -162,7 +162,7 @@ e_desklock_show(void)
|
|||
|
||||
if (_e_custom_desklock_exe) return 0;
|
||||
|
||||
if (e_config->desklock_use_custom_desklock)
|
||||
if (e_config->desklock_use_custom_desklock && e_config->desklock_custom_desklock_cmd && e_config->desklock_custom_desklock_cmd[0])
|
||||
{
|
||||
_e_custom_desklock_exe_handler =
|
||||
ecore_event_handler_add(ECORE_EXE_EVENT_DEL,
|
||||
|
|
Loading…
Reference in New Issue