forked from enlightenment/enlightenment
emit E_EVENT_DESKLOCK on all desklock hide calls, not just internal (not custom desklock) hiding
SVN revision: 73485
This commit is contained in:
parent
2e8c03cf67
commit
b7ff56ba86
|
@ -436,6 +436,10 @@ e_desklock_hide(void)
|
|||
return;
|
||||
}
|
||||
|
||||
ev = E_NEW(E_Event_Desklock, 1);
|
||||
ev->on = 0;
|
||||
ecore_event_add(E_EVENT_DESKLOCK, ev, NULL, NULL);
|
||||
|
||||
if (!edd) return;
|
||||
if (edd->elock_grab_break_wnd)
|
||||
ecore_x_window_show(edd->elock_grab_break_wnd);
|
||||
|
@ -464,10 +468,6 @@ e_desklock_hide(void)
|
|||
E_FREE(edd);
|
||||
edd = NULL;
|
||||
|
||||
ev = E_NEW(E_Event_Desklock, 1);
|
||||
ev->on = 0;
|
||||
ecore_event_add(E_EVENT_DESKLOCK, ev, NULL, NULL);
|
||||
|
||||
if (_e_desklock_autolock_time > 0.0)
|
||||
{
|
||||
if ((e_config->desklock_ask_presentation) &&
|
||||
|
|
Loading…
Reference in New Issue