Skip to content

Commit

Permalink
(WIN32) Read menubar shortcuts with menubar hidden (#16291)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos authored Feb 26, 2024
1 parent 59381b7 commit 55f1120
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gfx/common/win32_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,9 +1061,7 @@ static LRESULT CALLBACK wnd_proc_common(
case WM_COMMAND:
{
settings_t *settings = config_get_ptr();
bool ui_menubar_enable = settings ? settings->bools.ui_menubar_enable : false;
if (ui_menubar_enable)
win32_menu_loop(main_window.hwnd, wparam);
win32_menu_loop(main_window.hwnd, wparam);
}
break;
}
Expand Down

0 comments on commit 55f1120

Please sign in to comment.