Fix #11096: Increase priority of error and confirmation windows (#11104)

pull/603/merge
merni-ns 12 months ago committed by GitHub
parent 96da5581ce
commit a8a4737c5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1332,15 +1332,20 @@ static uint GetWindowZPriority(WindowClass wc)
uint z_priority = 0;
switch (wc) {
case WC_ENDSCREEN:
case WC_TOOLTIPS:
++z_priority;
FALLTHROUGH;
case WC_HIGHSCORE:
case WC_ERRMSG:
case WC_CONFIRM_POPUP_QUERY:
++z_priority;
FALLTHROUGH;
case WC_TOOLTIPS:
case WC_ENDSCREEN:
++z_priority;
FALLTHROUGH;
case WC_HIGHSCORE:
++z_priority;
FALLTHROUGH;
@ -1362,8 +1367,6 @@ static uint GetWindowZPriority(WindowClass wc)
++z_priority;
FALLTHROUGH;
case WC_ERRMSG:
case WC_CONFIRM_POPUP_QUERY:
case WC_NETWORK_ASK_RELAY:
case WC_MODAL_PROGRESS:
case WC_NETWORK_STATUS_WINDOW:

Loading…
Cancel
Save