aboutsummaryrefslogtreecommitdiff
path: root/src/layer/mapped.rs
diff options
context:
space:
mode:
authorChristian Meissl <meissl.christian@gmail.com>2025-08-13 10:27:41 +0200
committerIvan Molodetskikh <yalterz@gmail.com>2025-08-13 11:39:12 +0300
commitaf9ce533100b49e8bc879b557ab830f5d3a18805 (patch)
tree89f2abd5eab028bd863092e500eb5865f0c62ab3 /src/layer/mapped.rs
parent0044578681cee50fd7ad49fcb8d1e2ea53d85fe4 (diff)
downloadniri-af9ce533100b49e8bc879b557ab830f5d3a18805.tar.gz
niri-af9ce533100b49e8bc879b557ab830f5d3a18805.tar.bz2
niri-af9ce533100b49e8bc879b557ab830f5d3a18805.zip
use ScanoutCandidate kind for surfaces
this allows to get direct scan-out on surfaces again
Diffstat (limited to 'src/layer/mapped.rs')
-rw-r--r--src/layer/mapped.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layer/mapped.rs b/src/layer/mapped.rs
index 5eee37fb..8262bf64 100644
--- a/src/layer/mapped.rs
+++ b/src/layer/mapped.rs
@@ -195,7 +195,7 @@ impl MappedLayer {
(buf_pos + offset.to_f64()).to_physical_precise_round(scale),
scale,
alpha,
- Kind::Unspecified,
+ Kind::ScanoutCandidate,
));
}
@@ -205,7 +205,7 @@ impl MappedLayer {
buf_pos.to_physical_precise_round(scale),
scale,
alpha,
- Kind::Unspecified,
+ Kind::ScanoutCandidate,
);
}