diff --git a/kitty/glfw.c b/kitty/glfw.c index a5d61dea3..2587e072b 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -412,7 +412,7 @@ static GLFWwindow *application_quit_canary = NULL; static int on_application_reopen(int has_visible_windows) { if (has_visible_windows) return true; - set_cocoa_pending_action(NEW_OS_WINDOW); + set_cocoa_pending_action(NEW_OS_WINDOW, NULL); // Without unjam wait_for_events() blocks until the next event unjam_event_loop(); return false;