Commit 96c2f79c authored by Janet Blackquill's avatar Janet Blackquill 🌈
Browse files

gtk4: remove margin on windows

This isn't /r/unixporn and we want our windows to touch the edges of the screen when maximized. GTK4 is nice enough to automatically adjust the size of surfaces and whatnot when we set a box shadow, so we don't have to use a margin hack in order to make room for it in the first place.

BUG: 431930
parent c14581b2
......@@ -12,8 +12,11 @@ window {
border-width: 0px;
box-shadow: 0px 0px 16px $shadow, 0px 2px 8px scale-color($shadow, $alpha: -40%);
/* this is used for the resize cursor area */
margin: 10px;
margin: 0px;
&.maximized {
border-radius: 0;
}
.maximized &,
.fullscreen &,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment