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

Fix calculation of final image height/width in multi-resolution layouts #25

Merged
merged 3 commits into from
Mar 13, 2018
Merged

Conversation

huntie
Copy link
Contributor

@huntie huntie commented Mar 12, 2018

Fixes #24

@GabMus I found the cause! The resolving of final_image_width was previously ruling out monitor entries if they didn't have the largest offset_x, however for my 4K monitor width needs to be considered before taking a max. Applying changes for final_image_height as well, this appears to be a complete fix. Note that I have wiped out logic related to zero_offset_width, which I believe is unnecessary, but please verify this on your end.

Fully tested in my GNOME 3 desktop environment.

@GabMus
Copy link
Owner

GabMus commented Mar 13, 2018

Seems to be working fine, that's great!

@GabMus GabMus merged commit cebc435 into GabMus:master Mar 13, 2018
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

Successfully merging this pull request may close these issues.

Misaligned background tiling with multiple display resolutions
2 participants