con_activate -> con_focus when it is used as a building block
This commit is contained in:
parent
9a1fcff4e0
commit
9e3b48dd22
|
@ -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. */
|
/* Restore focus if the output's focused workspace has changed. */
|
||||||
if (con_get_workspace(focused) != old_focus)
|
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
|
/* 7: when moving to another workspace, we leave the focus on the current
|
||||||
|
|
Loading…
Reference in New Issue