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
This commit is contained in:
Matthias Clasen 2016-02-07 18:00:29 +01:00
parent af64a60466
commit 667069cff2
3 changed files with 3 additions and 2 deletions

View File

@ -3555,6 +3555,7 @@ decoration {
0 0 0 1px $_wm_border_backdrop; 0 0 0 1px $_wm_border_backdrop;
} }
.fullscreen &,
.tiled & { border-radius: 0; } .tiled & { border-radius: 0; }
.popup & { box-shadow: none; } .popup & { box-shadow: none; }

View File

@ -4307,7 +4307,7 @@ decoration {
* change when we go to backdrop, to prevent jumping windows * 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); } 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; } border-radius: 0; }
.popup decoration { .popup decoration {
box-shadow: none; } box-shadow: none; }

View File

@ -4448,7 +4448,7 @@ decoration {
* change when we go to backdrop, to prevent jumping windows * 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); } 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; } border-radius: 0; }
.popup decoration { .popup decoration {
box-shadow: none; } box-shadow: none; }