Skip to content

Window positions/sizes not pixel perfect when screen resolution is not cleanly divisible by 3 #90

@oikonny

Description

@oikonny

Hello,

i noticed that windows which habe been resized to be 2/3 of the horizontal screen resolution and aligned to the left edge of the screen are one pixel to short and windows with a size of 1/3 on the right edge are positioned one pixel over to the left, both of them leaving a nasty one pixel line the its right. This happens when the horizontal screen resolution is not cleanly divisible by 3 like 1024 or 1366.
I tried fixing it on my own, but i don't have much experience with python and i saw, that you save the windows sizes as percentages and not absolute pixels, which underminded my attempt to "just add a +1 to the relevant spots".
I noticed this issue in version 0.2.2 and it still exists in version 0.3.0. I use this project on all my xfce4 desktops for years and it would be perfect if this could be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions