summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-09-23 19:25:00 +0000
committerrubidium <rubidium@openttd.org>2008-09-23 19:25:00 +0000
commit9246ff28ac9007ee2c3d2825c0942e624485387d (patch)
tree72af3410c198e8b5a28412ca51392399e32926af /src
parentf49d5057ee811da59d2fb57df9e67760aeac17d8 (diff)
downloadopenttd-9246ff28ac9007ee2c3d2825c0942e624485387d.tar.xz
(svn r14392) -Fix [FS#1404]: some widgets saw a single click as multiple clicks.
Diffstat (limited to 'src')
-rw-r--r--src/window_gui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 5de67feb5..f0e0d81da 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -487,8 +487,8 @@ enum WindowWidgetTypes {
* Window flags
*/
enum WindowFlags {
- WF_TIMEOUT_TRIGGER = 2, ///< When the timeout should start triggering
- WF_TIMEOUT_BEGIN = 5, ///< The initial value for the timeout
+ WF_TIMEOUT_TRIGGER = 1, ///< When the timeout should start triggering
+ WF_TIMEOUT_BEGIN = 7, ///< The initial value for the timeout
WF_TIMEOUT_MASK = 7, ///< Window timeout counter bit mask (3 bits)
WF_DRAGGING = 1 << 3, ///< Window is being dragged
WF_SCROLL_UP = 1 << 4, ///< Upper scroll button has been pressed, @see ScrollbarClickHandler()