e_process: not to thaw when prepare_foreground event occur 24/170824/1 accepted/tizen/unified/20180223.062058 submit/tizen/20180222.113002
authorDoyoun Kang <doyoun.kang@samsung.com>
Thu, 22 Feb 2018 11:01:31 +0000 (20:01 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Thu, 22 Feb 2018 11:01:50 +0000 (20:01 +0900)
we don't send the E_PROCESS_STATE_FOREGROUND event when the "prepare,foreground" event is occured.
E_PROCESS_STATE_FOREGROUND event is sent when unobscured or uniconic event is occured.

Change-Id: Ica2f8c20be83bbe006e1e125f621b543b580339f

src/bin/e_process.c

index 1d60e2a..d9ef21d 100644 (file)
@@ -151,14 +151,6 @@ _e_process_client_info_del(E_Client *ec)
    return;
 }
 
-static void
-_e_process_evas_cb_prepare_foreground(void *data, Evas_Object *obj, void *event_info)
-{
-   E_Client *ec;
-   ec = data;
-   _e_process_thaw(ec->netwm.pid);
-}
-
 static Eina_Bool
 _e_process_cb_client_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
 {
@@ -171,8 +163,6 @@ _e_process_cb_client_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *eve
    ec = ev->ec;
    _e_process_client_info_add(ec);
 
-   evas_object_smart_callback_add(ec->frame, "e,visibility,prepare,foreground", _e_process_evas_cb_prepare_foreground, ec);
-
    return ECORE_CALLBACK_PASS_ON;
 }
 
@@ -188,8 +178,6 @@ _e_process_cb_client_remove(void *data EINA_UNUSED, int type EINA_UNUSED, void *
    ec = ev->ec;
    _e_process_client_info_del(ec);
 
-   evas_object_smart_callback_del(ec->frame, "e,visibility,prepare,foreground", _e_process_evas_cb_prepare_foreground);
-
    return ECORE_CALLBACK_PASS_ON;
 }