Commit 667069cf authored by Matthias Clasen's avatar Matthias Clasen

Adwaita: No rounded corners for fullscreen

If the theme has rounded corners for fullscreen, we don't tell the
window manager that we are now fully opaque, which then makes things
less efficient than they should be.

https://bugzilla.gnome.org//show_bug.cgi?id=761571
parent af64a604
......@@ -3555,6 +3555,7 @@ decoration {
0 0 0 1px $_wm_border_backdrop;
}
.fullscreen &,
.tiled & { border-radius: 0; }
.popup & { box-shadow: none; }
......
......@@ -4307,7 +4307,7 @@ decoration {
* change when we go to backdrop, to prevent jumping windows
*/
box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 3px 9px 1px transparent, 0 0 0 1px rgba(28, 31, 31, 0.9); }
.tiled decoration {
.fullscreen decoration, .tiled decoration {
border-radius: 0; }
.popup decoration {
box-shadow: none; }
......
......@@ -4448,7 +4448,7 @@ decoration {
* change when we go to backdrop, to prevent jumping windows
*/
box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.2), 0 3px 9px 1px transparent, 0 0 0 1px rgba(0, 0, 0, 0.18); }
.tiled decoration {
.fullscreen decoration, .tiled decoration {
border-radius: 0; }
.popup decoration {
box-shadow: none; }
......
Markdown is supported
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