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.
This commit is contained in:
Kim Woelders 2021-03-14 18:38:56 +01:00
parent ebe82a7bbb
commit 01f17e409e
1 changed files with 3 additions and 0 deletions

View File

@ -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;