Add GLFW API to set WM_COMMAND

Also have create_os_window take keyword arguments
This commit is contained in:
Kovid Goyal
2021-07-30 08:30:57 +05:30
parent 3c953d47ca
commit 303e4baa58
5 changed files with 20 additions and 3 deletions

3
kitty/glfw-wrapper.c generated
View File

@@ -441,6 +441,9 @@ load_glfw(const char* path) {
*(void **) (&glfwDBusSetUserNotificationHandler_impl) = dlsym(handle, "glfwDBusSetUserNotificationHandler");
if (glfwDBusSetUserNotificationHandler_impl == NULL) dlerror(); // clear error indicator
*(void **) (&glfwSetX11LaunchCommand_impl) = dlsym(handle, "glfwSetX11LaunchCommand");
if (glfwSetX11LaunchCommand_impl == NULL) dlerror(); // clear error indicator
return NULL;
}