We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
COSMIC_DISABLE_DIRECT_SCANOUT
1 parent 087be20 commit b8c429fCopy full SHA for b8c429f
src/backend/kms/surface/mod.rs
@@ -624,7 +624,10 @@ impl SurfaceThreadState {
624
cursor_size,
625
Some(gbm),
626
) {
627
- Ok(compositor) => {
+ Ok(mut compositor) => {
628
+ if crate::utils::env::bool_var("COSMIC_DISABLE_DIRECT_SCANOUT").unwrap_or(false) {
629
+ compositor.use_direct_scanout(false);
630
+ }
631
self.active.store(true, Ordering::SeqCst);
632
self.compositor = Some(compositor);
633
Ok(())
0 commit comments