Use double-buffering for screencopy

Currently this is unnecesssary, but it's needed if we use subsurfaces
(or import) instead of immedaitely converting to an image.
This commit is contained in:
Ian Douglas Scott 2024-01-25 15:58:34 -08:00
parent 6262329635
commit 89910b8e75
2 changed files with 24 additions and 21 deletions

View file

@ -8,10 +8,7 @@ use cctk::{
};
use cosmic::cctk;
use std::sync::{
atomic::{AtomicBool, Ordering},
Arc, Mutex,
};
use std::sync::{Arc, Mutex};
use super::{AppData, ScreencopySession, SessionData};