kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=01f17e409ea50c23ec17010caa1638355e8dd8a4

commit 01f17e409ea50c23ec17010caa1638355e8dd8a4
Author: Kim Woelders <k...@woelders.dk>
Date:   Sun Mar 14 18:38:56 2021 +0100

    Focus: Don't set focus on sliding windows
    
    Focus should be updated when sliding is done.
    
    Probably not much of a problem but seems right.
---
 src/focus.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/focus.c b/src/focus.c
index 04885d2c..f2281d0e 100644
--- a/src/focus.c
+++ b/src/focus.c
@@ -86,6 +86,9 @@ FocusEwinValid(EWin * ewin, int want_on_screen, int click, 
int want_visible)
            ewin->state.state != EWIN_STATE_MAPPED)
       ok = 0;
 
+   else if (ewin->state.sliding)
+      ok = 0;
+
    else if (ewin->props.focusclick && !click)
       ok = 0;
 

-- 


Reply via email to