pinnacle-comp/pinnacle

Resizing a floating window then making it tiled maps it to the wrong location

Ottatop opened this issue · 1 comments

If you resize a tiled window using the top left corner and then set it to tiled, it may map such that its right and bottom edges don't move. It gets tiled at the correct size but with the wrong x and y positions.

Resizing using the top right then tiling has the same issue but only the bottom edge is "anchored" (the window maps at the wrong y-coordinate).

Resizing using the bottom left anchors the window at the right edge (the x-coordinate is wrong).

Resizing using the bottom right corner results in the expected behavior.

Fixed in 591c5c1 (ok it's more of a workaround but whatever)