mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-11 16:54:42 +00:00
(svn r20084) -Fix [FS#3919] (r7157): don't try to handle mouse events when the cursor ha left the window
This commit is contained in:
parent
0ffbb12941
commit
4796be85a5
@ -417,7 +417,6 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
|
||||
_cursor.in_window = false;
|
||||
|
||||
if (!_left_button_down && !_right_button_down) MyShowCursor(true);
|
||||
HandleMouseEvents();
|
||||
return 0;
|
||||
|
||||
case WM_MOUSEMOVE: {
|
||||
|
Loading…
Reference in New Issue
Block a user