From 3846fbe1bcfba057f53c38aa13f29ae096c842a8 Mon Sep 17 00:00:00 2001 From: TuxTheAstronaut Date: Sun, 9 Mar 2025 21:07:34 -0400 Subject: [PATCH] Fix to prevent crashing if xdg-toplevel-icon protocol is not available --- src/wl_window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wl_window.c b/src/wl_window.c index 2d76a8fa8..785869635 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -2347,8 +2347,7 @@ void _glfwSetWindowIconWayland(_GLFWwindow* window, { if (!_glfw.wl.toplevelIconManager) { - _glfwInputError(GLFW_FEATURE_UNAVAILABLE, - "Wayland: The platform does not support setting the window icon"); + fprintf(stderr, "Wayland: xdg-toplevel-icon protocol was not found\n"); return; }