discomfitor pushed a commit to branch master.

commit de99185efabeeb7ca9f7b79edc3755b6bf88c9ca
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Apr 23 16:25:56 2013 +0100

    block refocus of currently focused window when applying desk focus
---
 src/bin/e_border.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index d01405e..98c33f7 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -1043,7 +1043,10 @@ e_border_hide(E_Border *bd,
                     e_border_focus_set(bd->parent, 1, 1);
                   else if (e_config->focus_revert_on_hide_or_close)
                     {
+                       Eina_Bool unlock = bd->lock_focus_out;
+                       bd->lock_focus_out = 1;
                        e_desk_last_focused_focus(desk);
+                       bd->lock_focus_out = unlock;
                     }
                   else if (e_config->focus_policy == E_FOCUS_MOUSE)
                     {

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to