From a27a3796cc5fddbec0db2a15e222e39315eca908 Mon Sep 17 00:00:00 2001 From: Joonas Henriksson Date: Thu, 27 Jan 2022 05:22:25 +0200 Subject: [PATCH] gtk3: Disable shadows for fullscreen and maximized windows This should improve performance. Based on upstream: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3173 --- common/gtk-3.0/sass/_common.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/common/gtk-3.0/sass/_common.scss b/common/gtk-3.0/sass/_common.scss index 782060fbc..121d60ccc 100644 --- a/common/gtk-3.0/sass/_common.scss +++ b/common/gtk-3.0/sass/_common.scss @@ -3274,13 +3274,16 @@ decoration { transition: $backdrop_transition; } + .maximized &, + .fullscreen & { + border-radius: 0; + box-shadow: none; + } .tiled &, .tiled-top &, .tiled-right &, .tiled-bottom &, - .tiled-left &, - .maximized &, - .fullscreen & { + .tiled-left & { border-radius: 0; } .popup & {