All windows can cover status bar

This commit is contained in:
pelya
2017-03-21 21:40:37 +02:00
parent 1c4dcd494f
commit ac4527c25d

View File

@@ -1295,7 +1295,6 @@ static uint GetWindowZPriority(const Window *w)
case WC_MAIN_TOOLBAR: case WC_MAIN_TOOLBAR:
case WC_MAIN_TOOLBAR_RIGHT: case WC_MAIN_TOOLBAR_RIGHT:
case WC_STATUS_BAR:
++z_priority; ++z_priority;
case WC_OSK: case WC_OSK:
@@ -1326,10 +1325,13 @@ static uint GetWindowZPriority(const Window *w)
case WC_CONSOLE: case WC_CONSOLE:
++z_priority; ++z_priority;
case WC_NEWS_WINDOW: default:
++z_priority; ++z_priority;
default: case WC_STATUS_BAR:
++z_priority;
case WC_NEWS_WINDOW:
++z_priority; ++z_priority;
case WC_MAIN_WINDOW: case WC_MAIN_WINDOW: