con_activate -> con_focus when it is used as a building block

This commit is contained in:
Orestis Floros 2018-03-23 13:27:05 +02:00
parent 9a1fcff4e0
commit 9e3b48dd22
1 changed files with 1 additions and 1 deletions

View File

@ -1208,7 +1208,7 @@ static bool _con_move_to_con(Con *con, Con *target, bool behind_focused, bool fi
/* Restore focus if the output's focused workspace has changed. */
if (con_get_workspace(focused) != old_focus)
con_activate(old_focus);
con_focus(old_focus);
}
/* 7: when moving to another workspace, we leave the focus on the current