forked from enlightenment/enlightenment
Luncher: Pass the e_comp client to the preview add callback.
This commit is contained in:
parent
d7f22721a2
commit
27c8413700
|
@ -1299,7 +1299,7 @@ _bar_cb_exec_new(void *data EINA_UNUSED, int type, E_Exec_Instance *ex)
|
|||
if (!eina_list_data_find(ic->execs, ex))
|
||||
ic->execs = eina_list_append(ic->execs, ex);
|
||||
if (evas_object_visible_get(ec->frame))
|
||||
_bar_exec_new_show(ic, NULL, NULL, NULL);
|
||||
_bar_exec_new_show(ic, NULL, ec->frame, NULL);
|
||||
else
|
||||
evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_SHOW,
|
||||
_bar_exec_new_show, ic);
|
||||
|
@ -1309,7 +1309,7 @@ _bar_cb_exec_new(void *data EINA_UNUSED, int type, E_Exec_Instance *ex)
|
|||
if (!eina_list_data_find(ic->clients, ec))
|
||||
ic->clients = eina_list_append(ic->clients, ec);
|
||||
if (evas_object_visible_get(ec->frame))
|
||||
_bar_exec_new_show(ic, NULL, NULL, NULL);
|
||||
_bar_exec_new_show(ic, NULL, ec->frame, NULL);
|
||||
else
|
||||
evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_SHOW,
|
||||
_bar_exec_new_show, ic);
|
||||
|
|
Loading…
Reference in New Issue