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: regression in layouting with fullscreen state #838

Closed
wants to merge 1 commit into from

Conversation

Dovias
Copy link

@Dovias Dovias commented Nov 7, 2024

Fix regression in layouting with fullscreen state

This PR fixes an issue where window's fullscreen state would overflow under existing elements in the desktop. Currently GlazeWM doesn't take in-account the delta offsets of the working area of the monitor when calculating fullscreen state window size, thus graphical issues occur in the latest version of GlazeWM. This PR should fix it.

Note: This PR works best with #836 PR, since it also fixes issues with graphical issues, related to the delta offsets of working area.

Before:

explorer_ZxGbJ83uFL.mp4

After:

explorer_l0NFjZg4yo.mp4

@lars-berger
Copy link
Member

Have been doing some testing, and I believe this issue is resolved now with #851 (while still preserving the functionality of fullscreen'ing to the full monitor size).

There's still good ideas here - as discussed on Discord, it'd be a nice addition to draw inspo from this PR and have some way of conditionally fullscreen'ing to either the full monitor size or the working area (e.g. via a new flag to set-fullscreen). Think it'd best to potentially tackle that in a separate PR though.

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

Successfully merging this pull request may close these issues.

2 participants