From 9913b7d590f46e59a475abbe85e70e02979d8d37 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 13 Apr 2026 16:16:25 -0400 Subject: Adjust window api, cleanup and update deps Signed-off-by: Andrew Opalach --- src/window_glfw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/window_glfw.c') diff --git a/src/window_glfw.c b/src/window_glfw.c index f94c9c2..0f55bc3 100644 --- a/src/window_glfw.c +++ b/src/window_glfw.c @@ -189,16 +189,16 @@ static void close_callback(GLFWwindow *window) stl_window_send_should_close_event(&glfw->w); } -static bool window_glfw_create_window(struct stl_window *window, u32 width, u32 height, - const char *monitor, const char *name, u32 flags) +static bool window_glfw_create_window(struct stl_window *window, u32 width, u32 height, u32 flags, + const char *monitor, const char *name, const char *app_id) { struct stl_window_glfw *glfw = (struct stl_window_glfw *)window; (void)monitor; #if GLFW_VERSION_MAJOR > 3 || (GLFW_VERSION_MAJOR == 3 && GLFW_VERSION_MINOR >= 4) - glfwWindowHintString(GLFW_WAYLAND_APP_ID, name); + glfwWindowHintString(GLFW_WAYLAND_APP_ID, app_id); #endif - glfwWindowHintString(GLFW_X11_CLASS_NAME, name); + glfwWindowHintString(GLFW_X11_CLASS_NAME, app_id); #if defined STELA_API_VULKAN if (!glfwVulkanSupported()) { -- cgit v1.2.3-101-g0448