Skip to content

Commit

Permalink
gtk3: Hide maximized SSD border box-shadow
Browse files Browse the repository at this point in the history
Fixes direct scanout on mutter, and border showing on adjacent
monitors, based on upstream commit:
https://gitlab.gnome.org/GNOME/gtk/-/commit/4873f63c07e62bd727746aa2d52cf1c13af6c9fd
  • Loading branch information
jnsh committed Sep 2, 2022
1 parent f160217 commit 5abd2b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion common/gtk-3.0/sass/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3307,7 +3307,10 @@ decoration {
border-radius: if($variant=='light' or $variant=='lighter', 4px 4px 0 0, 3px 3px 0 0);
box-shadow: 0 0 0 1px if($variant == 'dark' or $variant == 'darker', transparentize(black, 0.35), $_wm_border);

&.maximized { border-radius: 0; }
&.maximized {
border-radius: 0;
box-shadow: none;
}
}
.csd.popup & {
border-radius: 2px;
Expand Down

0 comments on commit 5abd2b8

Please sign in to comment.