From: Orestis Floros Date: Fri, 23 Mar 2018 11:27:05 +0000 (+0200) Subject: con_activate -> con_focus when it is used as a building block X-Git-Tag: 4.16~117^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9e3b48dd22b469875eefaa4a3c6792ac6ccf4e61;p=i3%2Fi3 con_activate -> con_focus when it is used as a building block --- diff --git a/src/con.c b/src/con.c index 669ff5d3..480b9e9e 100644 --- a/src/con.c +++ b/src/con.c @@ -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