From d6a7dda87fe7cb4a062e49be36761235cc8b3f55 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Thu, 22 Feb 2018 20:01:31 +0900 Subject: [PATCH] e_process: not to thaw when prepare_foreground event occur 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 | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/bin/e_process.c b/src/bin/e_process.c index 1d60e2a..d9ef21d 100644 --- a/src/bin/e_process.c +++ b/src/bin/e_process.c @@ -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; } -- 2.7.4