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
commit57d592828bf7795badf61df18195895df35e9c20 (patch)
tree72af3410c198e8b5a28412ca51392399e32926af /src
parent6a931d67cdcc98557efeabab4e0337150fab3541 (diff)
downloadopenttd-57d592828bf7795badf61df18195895df35e9c20.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()