GLFW API to track system color scheme dark/light

Implemented only on macOS and Wayland.
This commit is contained in:
Kovid Goyal
2023-04-13 13:16:33 +05:30
parent 1392d8cdb7
commit 66801b6b28
10 changed files with 99 additions and 1 deletions

4
glfw/x11_init.c vendored
View File

@@ -614,6 +614,10 @@ Cursor _glfwCreateCursorX11(const GLFWimage* image, int xhot, int yhot)
////// GLFW platform API //////
//////////////////////////////////////////////////////////////////////////
GLFWAPI int glfwGetCurrentSystemColorTheme(void) {
return 0;
}
int _glfwPlatformInit(void)
{
XInitThreads();