[gtk+] Adwaita: No rounded corners for fullscreen



commit 667069cff28bfe172573e05d2966930682b39949
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 7 18:00:29 2016 +0100

    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

 gtk/theme/Adwaita/_common.scss           |    1 +
 gtk/theme/Adwaita/gtk-contained-dark.css |    2 +-
 gtk/theme/Adwaita/gtk-contained.css      |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 1e07337..9892e3f 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3555,6 +3555,7 @@ decoration {
                 0 0 0 1px $_wm_border_backdrop;
   }
 
+  .fullscreen &,
   .tiled & { border-radius: 0; }
 
   .popup & { box-shadow: none; }
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index c8b8602..cfc20df 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -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; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 02c4090..dfd27bf 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -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; }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]