Wire up clipboard lost events

This commit is contained in:
Kovid Goyal
2025-03-12 09:26:36 +05:30
parent 08b4e3f2e0
commit b34a88065b
10 changed files with 40 additions and 0 deletions

7
glfw/init.c vendored
View File

@@ -395,6 +395,13 @@ GLFWAPI GLFWsystemcolorthemechangefun glfwSetSystemColorThemeChangeCallback(GLFW
return cbfun;
}
GLFWAPI GLFWclipboardlostfun glfwSetClipboardLostCallback(GLFWclipboardlostfun cbfun)
{
_GLFW_REQUIRE_INIT_OR_RETURN(NULL);
_GLFW_SWAP_POINTERS(_glfw.callbacks.clipboard_lost, cbfun);
return cbfun;
}
GLFWAPI GLFWdrawtextfun glfwSetDrawTextFunction(GLFWdrawtextfun cbfun)
{