Track initial color scheme preference read on Linux

This commit is contained in:
Kovid Goyal
2024-11-07 10:38:13 +05:30
parent 27cf969a64
commit 754288557d
8 changed files with 21 additions and 15 deletions

View File

@@ -955,7 +955,7 @@ static const NSRange kEmptyRange = { NSNotFound, 0 };
GLFWColorScheme new_appearance = glfwGetCurrentSystemColorTheme();
if (new_appearance != appearance) {
appearance = new_appearance;
_glfwInputColorScheme(appearance);
_glfwInputColorScheme(appearance, false);
}
}