Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Add Main window to denylist in run function

Richie McIlroyd34d089ca9fc
diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs
index 634e8256d..6e2553a9a 100644
--- a/apps/desktop/src-tauri/src/lib.rs
+++ b/apps/desktop/src-tauri/src/lib.rs
@@ -2677,6 +2677,7 @@ pub async fn run(recording_logging_handle: LoggingHandle, logs_dir: PathBuf) {
})
.with_denylist(&[
CapWindowId::Setup.label().as_str(),
+ CapWindowId::Main.label().as_str(),
"window-capture-occluder",
"target-select-overlay",
CapWindowId::CaptureArea.label().as_str(),