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