Focus: Fixup after "Fix pointer focus on new windows..."

Only do desk switch when focusing new transient.
This commit is contained in:
Kim Woelders 2021-03-31 20:01:40 +02:00
parent 53e15851c9
commit 55872b9db1
1 changed files with 2 additions and 1 deletions

View File

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