]> git.sur5r.net Git - i3/i3/commit
Fix erratic behavior with single container child jumping outputs
authorVladimir Panteleev <git@thecybershadow.net>
Thu, 14 Sep 2017 15:41:48 +0000 (15:41 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 19 Sep 2017 13:46:07 +0000 (15:46 +0200)
commitba7a76e3675a2be5d3d483954c49a219d434ae19
treee608d3f990fa8b28ac7745babeda15120a488588
parent8e520deb898004303ff889f9636418201ba0dffd
Fix erratic behavior with single container child jumping outputs

This fixes a regression introduced in commit
4e88c10564ca5366c2578908f62ec56625a26718: when attempting to move the
single child of a container in the direction of another output, i3
would move the window to the output, despite the window not being at
the edge of its output, instead of moving it to its parent container.

The bug occurred because the check for moving containers across
outputs with non-default workspace layouts (issue #1603) did not
actually verify that the moved window lies at the edge of the
workspace, despite what its comment said.

Fixes issue #2466.
src/move.c
testcases/t/537-move-single-to-output.t [new file with mode: 0644]