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

Ignore frame extents if window has no decorations #14441

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

emmauss
Copy link
Contributor

@emmauss emmauss commented Feb 1, 2024

What does the pull request do?

On x11, when system decorations for a window is removed, do not adjust the position and frame size with the frame extents. Some desktop environments seems to report a non-zero frame extent, thus FrameSize and Position report sizes as if system decorations are enabled.

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.1.999-cibuild0044291-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added this pull request to the merge queue Feb 1, 2024
@maxkatz6 maxkatz6 added the backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch label Feb 1, 2024
Merged via the queue into master with commit bee1c04 Feb 2, 2024
4 of 6 checks passed
@maxkatz6 maxkatz6 deleted the fixes/x11_no_decorations_ignore_extent branch February 2, 2024 00:10
@maxkatz6 maxkatz6 added backported-11.0.x and removed backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch labels Feb 8, 2024
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.

4 participants