Skip to content

fix: don't set window decoration insets when maximized#34948

Closed
msizanoen1 wants to merge 1 commit intoelectron:mainfrom
msizanoen1:wayland-no-inset-maximized
Closed

fix: don't set window decoration insets when maximized#34948
msizanoen1 wants to merge 1 commit intoelectron:mainfrom
msizanoen1:wayland-no-inset-maximized

Conversation

@msizanoen1
Copy link
Copy Markdown
Contributor

Description of Change

Don't set window decoration insets while maximized on Linux/Wayland. This causes the window to still have the window shadow padding around it while maximized.

Upstream code reference: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/views/frame/browser_desktop_window_tree_host_linux.cc;l=171-175;drc=c3d2363d9442969358bc902a14fe68225991e0ab

Fixes #33161

Checklist

Release Notes

Notes: Fixed empty space around maximized window on Wayland

@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Jul 18, 2022
@msizanoen1 msizanoen1 closed this Jul 18, 2022
@msizanoen1 msizanoen1 mentioned this pull request Jul 18, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-pr 🌱 PR opened recently

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Window has borders while maximized in Wayland

1 participant