Skip to content

Commit c91fa8e

Browse files
committed
fix: Fix window picker rectangle flicker on pick
1 parent aa28a85 commit c91fa8e

5 files changed

Lines changed: 337 additions & 154 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
/target
2+
.vscode/settings.json
3+
config2.txt
4+
config.txt

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "AntiWindowSnap"
3-
version = "1.2.0"
3+
version = "1.3.0"
44
edition = "2021"
55
description = "Prevent screenshotting and screen recording for the window with the specified title."
66
repository = "https://github.com/pkptzx/AntiWindowSnap"

src/helper.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ use windows::Win32::UI::WindowsAndMessaging::{
1616
WDA_EXCLUDEFROMCAPTURE, WDA_NONE, WINDOWINFO,
1717
};
1818

19+
#[allow(dead_code)]
1920
#[derive(Default, Debug)]
2021
pub struct WindowInfo {
2122
pub hwnd: u64,

0 commit comments

Comments
 (0)