Merge branch 'wip/jimmac/fix-maximized-shadows-gtk3' into 'gtk-3-24'

adwaita: disable shadows when window is maximized, fullscreen, tiled

See merge request GNOME/gtk!3179
This commit is contained in:
Matthias Clasen 2021-02-10 19:20:37 +00:00
commit 52eb7b23cb
3 changed files with 3 additions and 3 deletions

View File

@ -4579,7 +4579,7 @@ decoration {
.tiled-top &,
.tiled-right &,
.tiled-bottom &,
.tiled-left & { border-radius: 0; }
.tiled-left & { border-radius: 0; box-shadow: none; }
.popup & { box-shadow: none; }

View File

@ -1838,7 +1838,7 @@ decoration { border-radius: 8px 8px 0 0; border-width: 0px; box-shadow: 0 3px 9p
decoration:backdrop { box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(27, 27, 27, 0.9); transition: 200ms ease-out; }
.maximized decoration, .fullscreen decoration, .tiled decoration, .tiled-top decoration, .tiled-right decoration, .tiled-bottom decoration, .tiled-left decoration { border-radius: 0; }
.maximized decoration, .fullscreen decoration, .tiled decoration, .tiled-top decoration, .tiled-right decoration, .tiled-bottom decoration, .tiled-left decoration { border-radius: 0; box-shadow: none; }
.popup decoration { box-shadow: none; }

View File

@ -1854,7 +1854,7 @@ decoration { border-radius: 8px 8px 0 0; border-width: 0px; box-shadow: 0 3px 9p
decoration:backdrop { box-shadow: 0 3px 9px 1px transparent, 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.18); transition: 200ms ease-out; }
.maximized decoration, .fullscreen decoration, .tiled decoration, .tiled-top decoration, .tiled-right decoration, .tiled-bottom decoration, .tiled-left decoration { border-radius: 0; }
.maximized decoration, .fullscreen decoration, .tiled decoration, .tiled-top decoration, .tiled-right decoration, .tiled-bottom decoration, .tiled-left decoration { border-radius: 0; box-shadow: none; }
.popup decoration { box-shadow: none; }