discomfitor pushed a commit to branch master.

commit 68f9e980e7ad0bc7690667adc01facc839c2dbf7
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Sep 5 13:44:34 2013 +0100

    first we check focus model WITHOUT also applying automatically applied 
raise option, then we check focus option, THEN we check raise option
---
 src/bin/e_focus.c | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/src/bin/e_focus.c b/src/bin/e_focus.c
index 550e71d..aedcd66 100644
--- a/src/bin/e_focus.c
+++ b/src/bin/e_focus.c
@@ -67,24 +67,14 @@ EAPI void
 e_focus_event_mouse_down(E_Border *bd)
 {
    if (e_config->focus_policy == E_FOCUS_CLICK)
-     {
-        e_border_focus_set(bd, 1, 1);
-
-        if (!bd->lock_user_stacking)
-          {
-             if (e_config->border_raise_on_focus)
-               e_border_raise(bd);
-          }
-     }
+     e_border_focus_set(bd, 1, 1);
+   else if (e_config->always_click_to_focus)
+     e_border_focus_set(bd, 1, 1);
    else if (e_config->always_click_to_raise)
      {
         if (!bd->lock_user_stacking)
           e_border_raise(bd);
      }
-   else if (e_config->always_click_to_focus)
-     {
-        e_border_focus_set(bd, 1, 1);
-     }
 }
 
 EAPI void

-- 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk

Reply via email to