Skip to content

One pixel screen padding on sway built against the newer wayland package (1.24.0) #8834

@gryzus24

Description

@gryzus24

Sway Version:

sway version 1.12-dev-340505bb (Aug 10 2025, branch 'master')

I'm compiling sway from the master branch on Arch Linux where the wayland package recently received an update to the version 1.24.0 from 1.23.1. Sway, once compiled on a system with the newer package version installed exhibits a weird issue. Whenever the cursor is positioned at the outermost edge of the screen I'm unable to interact with whatever element should be interactable therein (e.g. firefox scrollbar at the right edge of the screen or workspace buttons with numbers in the bottom-left corner) as if the screen had a 1 pixel padding to it. The element becomes interactable once I move the cursor 1 pixel in the direction of the element and the tip of the cursor sprite appears from behind the shroud of the screen edge. It appears the top edge of the screen is not affected (moving the swaybar to the top and clicking the workspace buttons works as expected).

Sway compiled against the older wayland package (1.23.1) behaves as desired irrespective of the wayland package version installed. It is the act of compiling sway against the newer package and running it that exhibits the issue. (Tested by soft-rebooting after every package upgrade/downgrade or sway rebuild).

I have tried disabling the secondary monitor in the config and compiling sway and sway alongside different wlroots versions (commits) up to one month back but everything points to some change in the wayland package (I haven't bisected it).

I have looked at the symmetric difference of the debug log of both "sways" (sway compilations) and haven't noticed anything interesting stand out.

As the issue will be present only among people compiling sway from sources directly I would be glad if someone confirms the finding (especially as I only have access to an nvidia GPU and it would be good to rule that one variable out).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions