Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong position when aligning screens #20

Open
jheidbrink opened this issue Jul 2, 2024 · 1 comment
Open

Wrong position when aligning screens #20

jheidbrink opened this issue Jul 2, 2024 · 1 comment

Comments

@jheidbrink
Copy link

jheidbrink commented Jul 2, 2024

I have a 1440 pixels high external display. When I move my internal display below the external one, wdisplays has a snap function that I suppose should help to perfectly align the two displays. My 1440 pixels high display has a DPI scale of 1.1, so that should make the y position of the lower display 1309.0909 pixels. However, it snaps at a position of 1307 pixels. I'm using Sway, and the result of this alignment is that I cannot use Sway's movement keys to switch between displays. When manually setting the y position to 1309, switching works fine, and I can also still use the mouse to move the cursor from one display to the next.

@alex-courtis
Copy link
Collaborator

way-displays had a similar issue. Solution was to ensure that the displays were lined up exactly on logical size units.

There were isses with rounding vs truncating.

See alex-courtis/way-displays#138 for description and alex-courtis/way-displays#145 for fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants