fix: Multiple race conditions with pattern sorting

This commit is contained in:
WerWolv
2024-10-22 16:20:08 +02:00
parent 101c7a36fb
commit 3739bcc40c
10 changed files with 23 additions and 12 deletions

View File

@@ -74,7 +74,7 @@ namespace hex {
&& FcPatternGetString(font, FC_FAMILY, 0, &fullName) != FcResultMatch) {
continue;
}
registerFont(reinterpret_cast<const char *>(fullName), reinterpret_cast<const char *>(file));
}
@@ -123,7 +123,7 @@ namespace hex {
glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, GLFW_TRUE);
#if defined(GLFW_WAYLAND_APP_ID)
glfwWindowHintString(GLFW_WAYLAND_APP_ID, "imhex");
glfwWindowHintString(GLFW_WAYLAND_APP_ID, "imhex");
#endif
}
@@ -190,4 +190,4 @@ namespace hex {
}
#endif
#endif