diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2013-12-20 15:50:16 -0500 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-08-17 18:10:11 +0200 |
commit | a180c2d5de79e210814691ea023a6010cf7860c3 (patch) | |
tree | 93ced6c9166d5cc34ac344171780751e57e08eb2 | |
parent | b7f3fcb205a9ccf152a13d5cc052f4162eba3741 (diff) | |
download | enlightenment-a180c2d5de79e210814691ea023a6010cf7860c3.tar.gz |
only set mouse-in focus if target window is not already the focused window
T483 again
-rw-r--r-- | src/bin/e_focus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_focus.c b/src/bin/e_focus.c index 6eef63b300..7bd6068890 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; |