summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-11-15 21:01:19 +0000
committerDarkvater <darkvater@openttd.org>2006-11-15 21:01:19 +0000
commita353e354fddb3a242f35c7d9dcbb76ee5c92e4f1 (patch)
tree5ba9323bfd824f096f19b533df5deb1a2d4ba669 /window.h
parentb713974cd885defceace4f786254fe2127158a23 (diff)
downloadopenttd-a353e354fddb3a242f35c7d9dcbb76ee5c92e4f1.tar.xz
(svn r7157) -Fix [FS#221, SF1168820]: Some mouse events possibly lost under high CPU load, handle
mouse input right away instead of waiting for GameLoop. (KUDr)
Diffstat (limited to 'window.h')
-rw-r--r--window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/window.h b/window.h
index bf85dcff4..a7927c51a 100644
--- a/window.h
+++ b/window.h
@@ -802,6 +802,7 @@ void ResetWindowSystem(void);
int GetMenuItemIndex(const Window *w, int x, int y);
void InputLoop(void);
void HandleKeypress(uint32 key);
+void HandleMouseEvents(void);
void UpdateWindows(void);
void InvalidateWidget(const Window *w, byte widget_index);
void InvalidateThisWindowData(Window *w);