discomfitor pushed a commit to branch enlightenment-0.19.

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

commit e2dfd33496702a9d95b25d63d7c99132a80babd2
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Sep 22 12:02:13 2015 -0400

    unset E_Client->want/take_focus flags during client eval
    
    ref 4a33cd7ba0c51b911b1d7845411d2b70e01a3d55
---
 src/bin/e_client.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 8670118..ac59968 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -2208,8 +2208,12 @@ _e_client_eval(E_Client *ec)
        ((!ec->zone) || e_client_util_desk_visible(ec, 
e_desk_current_get(ec->zone))) &&
        ((ec->take_focus) || (ec->want_focus)))
      {
+        ec->take_focus = 0;
         if ((e_config->focus_setting == E_FOCUS_NEW_WINDOW) || 
(ec->want_focus))
-          e_client_focus_set_with_pointer(ec);
+          {
+             ec->want_focus = 0;
+             e_client_focus_set_with_pointer(ec);
+          }
         else if (ec->dialog)
           {
              if ((e_config->focus_setting == E_FOCUS_NEW_DIALOG) ||

-- 


Reply via email to