Reuse window capture targets and offload pixel conversion
This commit is contained in:
1 parent
325835f40a
commit
aa54ab1b2b
6 files changed
+204
-36
No files matched your search
@@ -463,7 +463,7 @@ impl Ferese {
|
||||
) -> Result<Self, Box<dyn Error>> {
|
||||
let display_handle = display.handle();
|
||||
|
||||
crate::handlers::screencopy::init_global(&display_handle);
|
||||
crate::handlers::screencopy::init_global(&display_handle, &event_loop.handle());
|
||||
crate::effects::init_global(&display_handle);
|
||||
crate::shell_control::init_global(&display_handle);
|
||||
|
||||
|
||||
Reference in new issue
Block a user