On Windows, fix left mouse button release event not being sent after Window::drag_window (#2564)
This commit is contained in:
parent
4ed4e918f3
commit
9f781bc422
4 changed files with 15 additions and 3 deletions
|
|
@ -418,6 +418,9 @@ impl Window {
|
|||
y: points.y as i16,
|
||||
};
|
||||
ReleaseCapture();
|
||||
|
||||
self.window_state_lock().dragging = true;
|
||||
|
||||
PostMessageW(
|
||||
self.hwnd(),
|
||||
WM_NCLBUTTONDOWN,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue