discomfitor pushed a commit to branch master.

commit 5f80690c60e69be462d2745c0cd39ade8aa20f5b
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Jun 17 09:19:04 2013 +0100

    only apply teamwork focus change hider when not sticky/forced
---
 src/modules/teamwork/e_mod_tw.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/teamwork/e_mod_tw.c b/src/modules/teamwork/e_mod_tw.c
index 6b94948..9fa7be7 100644
--- a/src/modules/teamwork/e_mod_tw.c
+++ b/src/modules/teamwork/e_mod_tw.c
@@ -810,6 +810,7 @@ focus_out(void *data EINA_UNUSED, int type EINA_UNUSED, 
E_Event_Border_Focus_Out
 {
    if (!tw_mod->pop) return ECORE_CALLBACK_RENEW;
    if (e_config->focus_policy == E_FOCUS_CLICK) return ECORE_CALLBACK_RENEW;
+   if (tw_mod->force || tw_mod->sticky) return ECORE_CALLBACK_RENEW;
    if (tw_config->mouse_out_delay)
      {
         if (tw_hide_timer) ecore_timer_reset(tw_hide_timer);

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to