macOS: Fix minimize not working for chromeless windows

Fixes #3112
This commit is contained in:
Kovid Goyal
2020-11-20 07:30:46 +05:30
parent bdcac9aed3
commit 9193a20b44
8 changed files with 44 additions and 26 deletions

2
kitty/glfw-wrapper.c generated
View File

@@ -380,6 +380,8 @@ load_glfw(const char* path) {
*(void **) (&glfwGetCocoaWindow_impl) = dlsym(handle, "glfwGetCocoaWindow");
*(void **) (&glfwHideCocoaTitlebar_impl) = dlsym(handle, "glfwHideCocoaTitlebar");
*(void **) (&glfwGetNSGLContext_impl) = dlsym(handle, "glfwGetNSGLContext");
*(void **) (&glfwGetCocoaMonitor_impl) = dlsym(handle, "glfwGetCocoaMonitor");