From af9ce533100b49e8bc879b557ab830f5d3a18805 Mon Sep 17 00:00:00 2001 From: Christian Meissl Date: Wed, 13 Aug 2025 10:27:41 +0200 Subject: use ScanoutCandidate kind for surfaces this allows to get direct scan-out on surfaces again --- src/window/mapped.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/window') diff --git a/src/window/mapped.rs b/src/window/mapped.rs index 0f39bef4..995c76bf 100644 --- a/src/window/mapped.rs +++ b/src/window/mapped.rs @@ -587,7 +587,7 @@ impl LayoutElement for Mapped { (buf_pos + offset.to_f64()).to_physical_precise_round(scale), scale, alpha, - Kind::Unspecified, + Kind::ScanoutCandidate, )); } @@ -597,7 +597,7 @@ impl LayoutElement for Mapped { buf_pos.to_physical_precise_round(scale), scale, alpha, - Kind::Unspecified, + Kind::ScanoutCandidate, ); } @@ -627,7 +627,7 @@ impl LayoutElement for Mapped { buf_pos.to_physical_precise_round(scale), scale, alpha, - Kind::Unspecified, + Kind::ScanoutCandidate, ) } } @@ -656,7 +656,7 @@ impl LayoutElement for Mapped { (buf_pos + offset.to_f64()).to_physical_precise_round(scale), scale, alpha, - Kind::Unspecified, + Kind::ScanoutCandidate, )); } -- cgit