Skip to content

Commit

Permalink
(WIN32) Read menubar shortcuts with menubar hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos committed Feb 26, 2024
1 parent fa3c685 commit 3d995b0
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 3d995b0

Please sign in to comment.