From: Christian Hergert Date: Sat, 12 Feb 2022 07:02:20 +0000 (-0800) Subject: css: reduce overdraws from "textview > text" X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~3^2~104^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e38e8ed73e063c9f6a23c232582e058167d77204;p=gtk4.git css: reduce overdraws from "textview > text" This was causing us to draw the same background content twice which is a significant amount of bits to flip in the GPU for maximized windows, especially twice. --- diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss index 02af5e936c..27e75a2d52 100644 --- a/gtk/theme/Default/_common.scss +++ b/gtk/theme/Default/_common.scss @@ -66,6 +66,8 @@ textview { > text { @extend %view; + background-color: transparent; + > selection { background-color: $backdrop_selected_bg_color;