From f292092ffce421a9483153b82fc24b59e7ae8ac5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 26 Sep 2018 19:47:53 +0530 Subject: [PATCH] ... --- kitty/glfw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/glfw.c b/kitty/glfw.c index e333134fa..13ebddd99 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -812,6 +812,8 @@ void swap_window_buffers(OSWindow *w) { #ifdef __APPLE__ if (w->nsgl_ctx_updated++ < 2) { + // Needed on Mojave for initial window render, see + // https://github.com/kovidgoyal/kitty/issues/887 cocoa_update_nsgl_context(glfwGetNSGLContext(w->handle)); } #endif