]> git.sur5r.net Git - i3/i3/commitdiff
con_activate -> con_focus when it is used as a building block 3196/head
authorOrestis Floros <orestisf1993@gmail.com>
Fri, 23 Mar 2018 11:27:05 +0000 (13:27 +0200)
committerOrestis Floros <orestisf1993@gmail.com>
Sat, 24 Mar 2018 13:21:11 +0000 (15:21 +0200)
src/con.c

index 669ff5d3b44ba3293d04968fe3c01d64abad9924..480b9e9e9c4fd35fbdb23b0535bb08d9248a6685 100644 (file)
--- 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