]> git.sur5r.net Git - i3/i3/commit
Don't call con_fullscreen_permits_focusing with ignore_focus 3261/head
authorOrestis Floros <orestisf1993@gmail.com>
Sun, 22 Apr 2018 00:26:51 +0000 (03:26 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Sun, 22 Apr 2018 13:56:36 +0000 (16:56 +0300)
commitb5f887287a9d350910305bdc06f32218c86dd2ef
treefb65ad35502b9f73b27fb23a1d5a0a4e945c3f6a
parent799e3951a2fbf71ae6d8a584e13295e7495cc03b
Don't call con_fullscreen_permits_focusing with ignore_focus

When we don't modify the focus we aren't risking giving focus to a
container behind the current fullscreen one.

_con_move_to_con can with ignore_focus is called through the swap
command or through con_move_to_workspace for floating containers. This
change shouldn't break the expectations of the callers there.

Fixes issue #3259.
src/con.c
testcases/t/291-swap.t