Skip to content

Buffer attach delta is mishandled #6020

Open
@kennylevinsen

Description

@kennylevinsen

Sway largely ignores the buffer attach point, and uses it to offset a surface away from its view origin, which is not correct behavior. This behavior can be observed by running the wleird resizor client.

Sway should instead use the buffer attach point delta to move floating windows, and ignore the buffer attach point otherwise.

It should be noted that the wlroots API here seems a bit awkward, as wlroots adds the deltas to x/y coordinates on the surface. To get the delta, which is the only interesting value, we must reset these coordinates to 0 on commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intendedwindow-managementConfiguring and arranging toplevels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions