From e89e9aee41382508ed36594a4b028239cad5197b Mon Sep 17 00:00:00 2001 From: ninja- Date: Tue, 30 Jun 2020 19:41:48 +0200 Subject: [PATCH] wayland: don't crash app on api calls to window focus or window icon - just ignore them --- src/wl_window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wl_window.c b/src/wl_window.c index cbe5d5923..3bb7d98b6 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -1013,8 +1013,8 @@ void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title) void _glfwPlatformSetWindowIcon(_GLFWwindow* window, int count, const GLFWimage* images) { - _glfwInputError(GLFW_FEATURE_UNAVAILABLE, - "Wayland: The platform does not support setting the window icon"); + // _glfwInputError(GLFW_FEATURE_UNAVAILABLE, + // "Wayland: The platform does not support setting the window icon"); } void _glfwPlatformGetWindowPos(_GLFWwindow* window, int* xpos, int* ypos) @@ -1191,8 +1191,8 @@ void _glfwPlatformRequestWindowAttention(_GLFWwindow* window) void _glfwPlatformFocusWindow(_GLFWwindow* window) { - _glfwInputError(GLFW_FEATURE_UNAVAILABLE, - "Wayland: The platform does not support setting the input focus"); + // _glfwInputError(GLFW_FEATURE_UNAVAILABLE, + // "Wayland: The platform does not support setting the input focus"); } void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,