Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

always hide window decorations on windows

Brendan Allanab7e0f2a7820
diff --git a/Cargo.lock b/Cargo.lock
index 66c21d958..6d62f79d8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -8099,9 +8099,9 @@ dependencies = [
[[package]]
name = "tauri-plugin-single-instance"
-version = "2.2.1"
+version = "2.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47c387d4d96690131dc46d1d2827df5c222b896a2bfeb15a16267229a55c50b5"
+checksum = "25bbc73eed15bba8ad290a52614f2711280df4bf575b36ce78f64367074b90b7"
dependencies = [
"serde",
"serde_json",
diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rs
index 14ad48b40..8548fd4e2 100644
--- a/apps/desktop/src-tauri/src/windows.rs
+++ b/apps/desktop/src-tauri/src/windows.rs
@@ -568,9 +568,7 @@ impl ShowCapWindow {
#[cfg(target_os = "windows")]
{
- if !id.should_have_decorations() {
- builder = builder.decorations(false);
- }
+ builder = builder.decorations(false);
}
builder