diff options
Diffstat (limited to 'mr1915.patch')
-rw-r--r-- | mr1915.patch | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/mr1915.patch b/mr1915.patch index adf4e57dd21c..61de776e0a70 100644 --- a/mr1915.patch +++ b/mr1915.patch @@ -1,9 +1,36 @@ Author: Daniel van Vugt <daniel.van.vugt@canonical.com> Source: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1915 Editor: Sung Mingi <FiestaLake@protonmail.com> -Commit: 6f195a883c84284c4be802f1a74e425ea1264728 -Last Updated: 06/07/22 (gnome-shell 42.3.1-1) +Commit: 80c33fcb7a93d9fd66318524522b7c8b8fb7a9bb +Last Updated: 06/07/22 (gnome-shell 42.3.1-2) +diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss +index 0b89700b4..8cc09be08 100644 +--- a/data/theme/gnome-shell-sass/_common.scss ++++ b/data/theme/gnome-shell-sass/_common.scss +@@ -35,6 +35,11 @@ $base_border_radius: 8px; + // radii of things that display over other things, e.g. popovers + $modal_radius: $base_border_radius*2; // 24px + ++// Chroma key to flag when a background-color is always occluded, not visible. ++// This allows any box-shadow behind it to be rendered more efficiently by ++// omitting the middle rectangle. ++$invisible_occluded_bg_color: rgba(3,2,1,0); ++ + // fonts + $base_font_size: 11; + $text_shadow_color: if($variant == 'light', rgba(255,255,255,0.3), rgba(0,0,0,0.2)); +diff --git a/data/theme/gnome-shell-sass/widgets/_window-picker.scss b/data/theme/gnome-shell-sass/widgets/_window-picker.scss +index c71adad54..9067a6d4e 100644 +--- a/data/theme/gnome-shell-sass/widgets/_window-picker.scss ++++ b/data/theme/gnome-shell-sass/widgets/_window-picker.scss +@@ -48,5 +48,6 @@ $window_close_button_padding: 3px; + .workspace-background { + // keep in sync with BACKGROUND_CORNER_RADIUS_PIXELS in workspace.js + border-radius: 30px; ++ background-color: $invisible_occluded_bg_color; + box-shadow: 0 4px 16px 4px transparentize(darken($osd_bg_color, 30%), 0.7); + } diff --git a/src/st/st-theme-node-drawing.c b/src/st/st-theme-node-drawing.c index b32c76be2..72745ed66 100644 --- a/src/st/st-theme-node-drawing.c |