On Windows, fix left mouse button release event not being sent after Window::drag_window (#2564)

This commit is contained in:
feelingnothing 2022-12-07 01:18:50 +03:00 committed by GitHub
parent 4ed4e918f3
commit 9f781bc422
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 3 deletions

View file

@ -52,6 +52,8 @@ pub(crate) struct WindowState {
pub is_active: bool,
pub is_focused: bool,
pub dragging: bool,
pub skip_taskbar: bool,
}
@ -162,6 +164,8 @@ impl WindowState {
is_active: false,
is_focused: false,
dragging: false,
skip_taskbar: false,
}
}