diff --git a/src/df/gfx/df_gfx.c b/src/df/gfx/df_gfx.c index 6e3de250..f7baf73e 100644 --- a/src/df/gfx/df_gfx.c +++ b/src/df/gfx/df_gfx.c @@ -1032,7 +1032,7 @@ df_window_update_and_render(Arena *arena, OS_EventList *events, DF_Window *ws, D ws->hover_eval_string.size != 0 && ws->hover_eval_first_frame_idx+20 < ws->hover_eval_last_frame_idx && df_frame_index()-ws->hover_eval_last_frame_idx < 20); - if(!window_is_focused) + if(!window_is_focused || confirm_open) { ws->menu_bar_key_held = 0; } diff --git a/src/os/gfx/win32/os_gfx_win32.c b/src/os/gfx/win32/os_gfx_win32.c index e3463815..12f103d4 100644 --- a/src/os/gfx/win32/os_gfx_win32.c +++ b/src/os/gfx/win32/os_gfx_win32.c @@ -492,7 +492,9 @@ w32_wnd_proc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) }break; case WM_SYSCHAR: - {}break; + { + result = DefWindowProcW(hwnd, uMsg, wParam, lParam); + }break; case WM_CHAR: {