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

renderer: add offset to renderer when window is borderless and maximized on Windows #1978

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

takase1121
Copy link
Member

@takase1121 takase1121 commented Dec 4, 2024

Imagine a place...

image

Yes, this PR just makes window appear correctly on Windows when we draw our own decoration. Compared to current code:

image

In theory this does not affect non RENDERER code, because we aren't using RenSurface scale. I haven't tested it on 2x scale with the RENDERER backend, because the highest I can do is 1.75x.

Closes #1966.

@Guldoman
Copy link
Member

Guldoman commented Dec 4, 2024

Could this be done fully in lua, for example by making the TitleView slightly taller on windows?

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

Successfully merging this pull request may close these issues.

Incorrect size of maximized borderless window
2 participants