Function to get the current system color theme

This commit is contained in:
Kovid Goyal
2024-11-07 12:47:06 +05:30
parent 239e08f268
commit b0ebd340fe
13 changed files with 99 additions and 29 deletions

4
glfw/wl_init.c vendored
View File

@@ -636,8 +636,8 @@ static const struct wl_registry_listener registryListener = {
};
GLFWAPI GLFWColorScheme glfwGetCurrentSystemColorTheme(void) {
return glfw_current_system_color_theme();
GLFWAPI GLFWColorScheme glfwGetCurrentSystemColorTheme(bool query_if_unintialized) {
return glfw_current_system_color_theme(query_if_unintialized);
}
static pid_t