mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
fix cursor blinking when clicking decorations bar on Windows (#1852)
This commit is contained in:
@@ -845,7 +845,7 @@ unsafe fn public_window_callback_inner<T: 'static>(
|
||||
}
|
||||
winuser::WM_NCLBUTTONDOWN => {
|
||||
if wparam == winuser::HTCAPTION as _ {
|
||||
winuser::PostMessageW(window, winuser::WM_MOUSEMOVE, 0, 0);
|
||||
winuser::PostMessageW(window, winuser::WM_MOUSEMOVE, 0, lparam);
|
||||
}
|
||||
commctrl::DefSubclassProc(window, msg, wparam, lparam)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user