]> git.sur5r.net Git - i3/i3/commit
cmd_rename_workspace: always call con_focus 3327/head
authorOrestis Floros <orestisf1993@gmail.com>
Wed, 11 Jul 2018 21:12:27 +0000 (00:12 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Thu, 12 Jul 2018 00:42:38 +0000 (03:42 +0300)
commitd1652ca7cd156b91fbea6cdc89ac7a5f6fad5f30
tree6959a2421371b382fcabd77113885ea6702705f7
parentb8505bb611c5f536af60153c6440949158797d0b
cmd_rename_workspace: always call con_focus

This was introduced in 252db3b8c (#3245). That commit moved the
con_activate line inside the loop, meaning it wouldn't always be called.

When the mouse moved after a rename with focus_follows_mouse enabled,
check_crossing_screen_boundary (src/handlers.c:111) called
con_descend_focused that used the wrong focus order.

I also change con_activate to con_focus since we don't really want to
raise floating containers there.

Fixes #3325
src/commands.c