discomfitor pushed a commit to branch master.

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

commit bd6bbdd5f424d6f6adeca010f5fd92a640372a28
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Dec 20 15:50:16 2013 -0500

    only set mouse-in focus if target window is not already the focused window
    
    T483 again
---
 src/bin/e_focus.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_focus.c b/src/bin/e_focus.c
index 11836fe..28b7095 100644
--- a/src/bin/e_focus.c
+++ b/src/bin/e_focus.c
@@ -30,7 +30,8 @@ e_focus_event_mouse_in(E_Border *bd)
    if ((e_config->focus_policy == E_FOCUS_MOUSE) ||
        (e_config->focus_policy == E_FOCUS_SLOPPY))
      {
-        e_border_focus_set(bd, 1, 1);
+        if (bd != e_border_focused_get())
+          e_border_focus_set(bd, 1, 1);
      }
    if (bd->raise_timer) ecore_timer_del(bd->raise_timer);
    bd->raise_timer = NULL;

-- 


Reply via email to