discomfitor pushed a commit to branch enlightenment-0.19.

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

commit 5edb052b87d5abc9fda7407f264b5715b536148e
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Aug 18 18:18:12 2015 -0400

    unset E_Client->want/take_focus flags in hide callback
    
    deferred focus should no longer be valid if a client has been hidden
    before the focus-set could be triggered
    
    fixes super fun infinite loop with desk flips
---
 src/bin/e_client.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 3fc1f92..f1c8556 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -1398,6 +1398,7 @@ _e_client_cb_evas_hide(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_UN
         if (ec->focused)
           _e_client_revert_focus(ec);
      }
+   ec->want_focus = ec->take_focus = 0;
 
    ec->post_show = 0;
 

-- 


Reply via email to