kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=55872b9db19666624f265226735d435e9027e977

commit 55872b9db19666624f265226735d435e9027e977
Author: Kim Woelders <[email protected]>
Date:   Wed Mar 31 20:01:40 2021 +0200

    Focus: Fixup after "Fix pointer focus on new windows..."
    
    Only do desk switch when focusing new transient.
---
 src/focus.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/focus.c b/src/focus.c
index b15b9f41..32eca4b4 100644
--- a/src/focus.c
+++ b/src/focus.c
@@ -419,7 +419,8 @@ doFocusToEwin(EWin * ewin, int why)
 
        if (FocusEwinValidNew(ewin))
          {
-            DeskGotoByEwin(ewin, 0);
+            if (EwinIsTransient(ewin))
+               DeskGotoByEwin(ewin, 0);
             goto check_focus_new;
          }
 

-- 


Reply via email to