From e33e9c506d51ee5342c3ce0ea68197f620da166c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 13 Apr 2024 21:51:34 -0400 Subject: [PATCH] theme: Move the black background of the video We need the black inside the subsurface node for the single-pixel optimization to work, so put it there. --- gtk/theme/Default/_common.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss index 5197eeb84a..883e37fe8c 100644 --- a/gtk/theme/Default/_common.scss +++ b/gtk/theme/Default/_common.scss @@ -3940,7 +3940,9 @@ video { min-height: 64px; border-radius: 32px; } - background: black; + & graphicsoffload > picture { + background: black; + } } /************