mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Typo causing crash on Waylnd compositors that dont support xdg-toplevel-icon
Fix #8471
This commit is contained in:
1
glfw/wl_window.c
vendored
1
glfw/wl_window.c
vendored
@@ -1474,6 +1474,7 @@ _glfwPlatformSetWindowIcon(_GLFWwindow* window, int count, const GLFWimage* imag
|
||||
_glfwInputError(GLFW_FEATURE_UNAVAILABLE, "Wayland: The compositor does not support changing window icons");
|
||||
warned_once = true;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (!count) {
|
||||
xdg_toplevel_icon_manager_v1_set_icon(_glfw.wl.xdg_toplevel_icon_manager_v1, window->wl.xdg.toplevel, NULL);
|
||||
|
||||
Reference in New Issue
Block a user