summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/window.cpp b/src/window.cpp
index b45e84443..b167cbb78 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -2565,7 +2565,6 @@ restart_search:
w->window_class != WC_SELECT_GAME &&
w->window_class != WC_MAIN_TOOLBAR &&
w->window_class != WC_STATUS_BAR &&
- w->window_class != WC_TOOLBAR_MENU &&
w->window_class != WC_TOOLTIPS &&
(w->flags4 & WF_STICKY) == 0) { // do not delete windows which are 'pinned'
@@ -2626,7 +2625,6 @@ restart_search:
/** Delete all always on-top windows to get an empty screen */
void HideVitalWindows()
{
- DeleteWindowById(WC_TOOLBAR_MENU, 0);
DeleteWindowById(WC_MAIN_TOOLBAR, 0);
DeleteWindowById(WC_STATUS_BAR, 0);
}