forked from enlightenment/enlightenment
e - mixer - don't do anything on desklock if no mixer context exists
This commit is contained in:
parent
6bacf20705
commit
918f4bffcc
|
@ -697,6 +697,8 @@ _desklock_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *info)
|
||||||
|
|
||||||
if (emix_config_desklock_mute_get() == EINA_FALSE)
|
if (emix_config_desklock_mute_get() == EINA_FALSE)
|
||||||
return ECORE_CALLBACK_PASS_ON;
|
return ECORE_CALLBACK_PASS_ON;
|
||||||
|
if (!mixer_context)
|
||||||
|
return ECORE_CALLBACK_PASS_ON;
|
||||||
|
|
||||||
if (ev->on)
|
if (ev->on)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue