GLFW: Add more standard cursor shapes

Also use an enum for the cursor shapes
This commit is contained in:
Kovid Goyal
2019-03-21 13:06:13 +05:30
parent 733158a2de
commit 5ab8a665be
10 changed files with 135 additions and 155 deletions

3
kitty/glfw-wrapper.c generated
View File

@@ -62,6 +62,9 @@ load_glfw(const char* path) {
*(void **) (&glfwGetMonitorPos_impl) = dlsym(handle, "glfwGetMonitorPos");
if (glfwGetMonitorPos_impl == NULL) fail("Failed to load glfw function glfwGetMonitorPos with error: %s", dlerror());
*(void **) (&glfwGetMonitorWorkarea_impl) = dlsym(handle, "glfwGetMonitorWorkarea");
if (glfwGetMonitorWorkarea_impl == NULL) fail("Failed to load glfw function glfwGetMonitorWorkarea with error: %s", dlerror());
*(void **) (&glfwGetMonitorPhysicalSize_impl) = dlsym(handle, "glfwGetMonitorPhysicalSize");
if (glfwGetMonitorPhysicalSize_impl == NULL) fail("Failed to load glfw function glfwGetMonitorPhysicalSize with error: %s", dlerror());