macOS: Render OS windows during windowDidResize for even smoother live resize rendering

This commit is contained in:
Kovid Goyal
2023-07-11 17:22:35 +05:30
parent e244d9da92
commit b00c2d644e
7 changed files with 49 additions and 0 deletions

3
kitty/glfw-wrapper.c generated
View File

@@ -440,6 +440,9 @@ load_glfw(const char* path) {
*(void **) (&glfwCocoaRequestRenderFrame_impl) = dlsym(handle, "glfwCocoaRequestRenderFrame");
if (glfwCocoaRequestRenderFrame_impl == NULL) dlerror(); // clear error indicator
*(void **) (&glfwCocoaSetWindowResizeCallback_impl) = dlsym(handle, "glfwCocoaSetWindowResizeCallback");
if (glfwCocoaSetWindowResizeCallback_impl == NULL) dlerror(); // clear error indicator
*(void **) (&glfwCocoaSetBackgroundBlur_impl) = dlsym(handle, "glfwCocoaSetBackgroundBlur");
if (glfwCocoaSetBackgroundBlur_impl == NULL) dlerror(); // clear error indicator