add all wl client frame callbacks with priority AFTER

ensure that these occur after all other callbacks since they can affect
the lifetime of the client object
This commit is contained in:
Mike Blumenkrantz 2017-03-03 11:56:16 -05:00
parent 5d89a8a993
commit 6b946c897f
1 changed files with 4 additions and 2 deletions

View File

@ -995,9 +995,11 @@ static void
_e_comp_wl_client_evas_init(E_Client *ec)
{
if (ec->comp_data->evas_init) return;
evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_SHOW,
evas_object_event_callback_priority_add(ec->frame, EVAS_CALLBACK_SHOW,
EVAS_CALLBACK_PRIORITY_AFTER,
_e_comp_wl_evas_cb_show, ec);
evas_object_event_callback_add(ec->frame, EVAS_CALLBACK_HIDE,
evas_object_event_callback_priority_add(ec->frame, EVAS_CALLBACK_HIDE,
EVAS_CALLBACK_PRIORITY_AFTER,
_e_comp_wl_evas_cb_hide, ec);
/* setup input callbacks */