Skip to content

Commit

Permalink
(WIN32) Read menubar shortcuts with menubar hidden (libretro#16291)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos authored and Sunderland93 committed Dec 26, 2024
1 parent 8eecf5d commit 0f201cc
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 0f201cc

Please sign in to comment.