Move the bell implementation into glfw

This commit is contained in:
Kovid Goyal
2017-11-20 23:03:27 +05:30
parent 32a6dd2aa1
commit a5078afd1e
12 changed files with 76 additions and 46 deletions

3
kitty/glfw-wrapper.c generated
View File

@@ -152,6 +152,9 @@ load_glfw(const char* path) {
*(void **) (&glfwRequestWindowAttention_impl) = dlsym(handle, "glfwRequestWindowAttention");
if (glfwRequestWindowAttention_impl == NULL) fail("Failed to load glfw function glfwRequestWindowAttention with error: %s", dlerror());
*(void **) (&glfwWindowBell_impl) = dlsym(handle, "glfwWindowBell");
if (glfwWindowBell_impl == NULL) fail("Failed to load glfw function glfwWindowBell with error: %s", dlerror());
*(void **) (&glfwGetWindowMonitor_impl) = dlsym(handle, "glfwGetWindowMonitor");
if (glfwGetWindowMonitor_impl == NULL) fail("Failed to load glfw function glfwGetWindowMonitor with error: %s", dlerror());