Skip to content

Commit ab7e0f2

Browse files
committed
always hide window decorations on windows
1 parent f930141 commit ab7e0f2

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/desktop/src-tauri/src/windows.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,9 +568,7 @@ impl ShowCapWindow {
568568

569569
#[cfg(target_os = "windows")]
570570
{
571-
if !id.should_have_decorations() {
572-
builder = builder.decorations(false);
573-
}
571+
builder = builder.decorations(false);
574572
}
575573

576574
builder

0 commit comments

Comments
 (0)