This commit is contained in:
sxyazi 2024-06-08 18:17:36 +08:00
parent 00321e9dcc
commit 376a0b8c0d
No known key found for this signature in database

View file

@ -174,7 +174,7 @@ mod mouse {
fn execute_winapi(&self) -> io::Result<()> {
if MANAGER.mouse_events.is_empty() {
Ok(())
} else if self.enabled {
} else if self.0 {
EnableMouseCapture.execute_winapi()
} else {
DisableMouseCapture.execute_winapi()