All windows can cover status bar

This commit is contained in:
pelya
2017-03-21 21:40:37 +02:00
committed by Sergii Pylypenko
parent 93256d2f2a
commit 5153fba5e0

View File

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