mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
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:
parent
af64a60466
commit
667069cff2
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user