From 835ae31f450d8faf5cc6cc77678e8512c21ba906 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 22 Apr 2011 15:50:13 +0000 Subject: (svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups --- src/window.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/window.cpp') 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); } -- cgit v1.2.3-54-g00ecf