Skip to content

Commit

Permalink
gtk4: Do not draw drop shadows on tiled windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsh committed Feb 8, 2022
1 parent c9a46aa commit 109c19a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions common/gtk-4.0/sass/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4014,6 +4014,13 @@ window {
&.tiled-right,
&.tiled-bottom {
border-radius: 0;
box-shadow: 0 0 0 1px if($variant == 'dark' or $variant == 'darker', darken($header_bg, 7%), $_wm_border),
0 0 0 20px transparent; //transparent control workaround -- GTK issue #3670

&:backdrop {
box-shadow: 0 0 0 1px if($variant == 'dark' or $variant == 'darker', darken($header_bg, 7%), $_wm_border),
0 0 0 20px transparent; // GTK issue #3670
}
}

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

0 comments on commit 109c19a

Please sign in to comment.