summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2010-07-06 21:10:47 +0000
committerglx <glx@openttd.org>2010-07-06 21:10:47 +0000
commit4796be85a5f501901c56cc48c329263c7b203956 (patch)
treec6fb0e1c055a8bfb79d1de98fe59da5cfa6acffd /src/video
parent0ffbb12941078ef4c9ca9766a7f96777a07dd2cd (diff)
downloadopenttd-4796be85a5f501901c56cc48c329263c7b203956.tar.xz
(svn r20084) -Fix [FS#3919] (r7157): don't try to handle mouse events when the cursor ha left the window
Diffstat (limited to 'src/video')
-rw-r--r--src/video/win32_v.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index 15dc4c7eb..9f0a3c3df 100644
--- a/src/video/win32_v.cpp
+++ b/src/video/win32_v.cpp
@@ -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: {