discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=c6f059777450af0d8d8a5e0a25548baf634fb4da

commit c6f059777450af0d8d8a5e0a25548baf634fb4da
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Mar 2 14:27:29 2015 -0500

    remove ec->awaiting_hide_event
    
    no longer used
---
 src/bin/e_client.h |  1 -
 src/bin/e_comp_x.c | 15 ++++-----------
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/src/bin/e_client.h b/src/bin/e_client.h
index 40d7585..561ca59 100644
--- a/src/bin/e_client.h
+++ b/src/bin/e_client.h
@@ -572,7 +572,6 @@ struct E_Client
 
    unsigned int       visible : 1; // client is set to be visible by display 
server (never use this)
    unsigned int       hidden : 1; // set when window has been hidden by api 
and should not be shown
-   unsigned int       await_hide_event;
    unsigned int       moving : 1;
    unsigned int       focused : 1;
    unsigned int       new_client : 1;
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 454c64f..f75e0f6 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -1278,18 +1278,11 @@ _e_comp_x_hide(void *data EINA_UNUSED, int type 
EINA_UNUSED, Ecore_X_Event_Windo
         return ECORE_CALLBACK_PASS_ON;
      }
    /* Don't delete hidden or iconified windows */
-   if ((ec->iconic) || (ec->await_hide_event > 0))
+   if (ec->iconic)
      {
-        if (ec->await_hide_event > 0)
-          {
-             ec->await_hide_event--;
-          }
-        else
-          {
-             /* Only hide the border if it is visible */
-             hid = EINA_TRUE;
-             evas_object_hide(ec->frame);
-          }
+        /* Only hide the border if it is visible */
+        hid = EINA_TRUE;
+        evas_object_hide(ec->frame);
      }
    else
      {

-- 


Reply via email to