summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-20 19:48:33 +0000
committerrubidium <rubidium@openttd.org>2011-12-20 19:48:33 +0000
commitdbb85e5cc173caacfffc93012b1c8d5f1becc162 (patch)
treeb68fc9417e1ef57d41395f02b9de9cb4f418c876
parentbdb0d7eaf3e1e1fc0684506e50ea5b8fbeb58de5 (diff)
downloadopenttd-dbb85e5cc173caacfffc93012b1c8d5f1becc162.tar.xz
(svn r23642) -Fix [FS#4893]: OSK window got hidden by query window
-rw-r--r--src/window.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 02cdc94ad..338adb856 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -981,6 +981,9 @@ static uint GetWindowZPriority(const Window *w)
case WC_STATUS_BAR:
++z_priority;
+ case WC_OSK:
+ ++z_priority;
+
case WC_QUERY_STRING:
++z_priority;