From 779323993268a0520ec3f25f3c67efc3f224af52 Mon Sep 17 00:00:00 2001 From: GamesTrap Date: Sat, 4 Mar 2023 21:19:25 +0100 Subject: [PATCH] Fixed X11 function signature --- src/cocoa_window.m | 2 ++ src/wl_window.c | 2 ++ src/x11_window.c | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 7f7c8bf1..98029041 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -1169,6 +1169,8 @@ void _glfwSetWindowTaskbarProgressCocoa(_GLFWwindow* window, int progressState, void _glfwSetWindowTaskbarBadgeCocoa(_GLFWwindow* window, int count) { + _glfwInputError(GLFW_FEATURE_UNIMPLEMENTED, + "Cocoa: Setting the taskbar progress badge is not implemented"); } void _glfwGetWindowPosCocoa(_GLFWwindow* window, int* xpos, int* ypos) diff --git a/src/wl_window.c b/src/wl_window.c index 2917e226..b91fd8f5 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -1913,6 +1913,8 @@ void _glfwSetWindowTaskbarProgressWayland(_GLFWwindow* window, const int progres void _glfwSetWindowTaskbarBadgeWayland(_GLFWwindow* window, int count) { + _glfwInputError(GLFW_FEATURE_UNIMPLEMENTED, + "Wayland: Setting the taskbar progress badge is not implemented"); } void _glfwGetWindowPosWayland(_GLFWwindow* window, int* xpos, int* ypos) diff --git a/src/x11_window.c b/src/x11_window.c index d7001b56..99e8a974 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -2161,8 +2161,10 @@ void _glfwSetWindowTaskbarProgressX11(_GLFWwindow* window, int progressState, do _glfwUpdateTaskbarProgressDBusPOSIX(progressVisible, value); } -void _glfwSetWindowTaskbarProgressX11(_GLFWwindow* window, int count) +void _glfwSetWindowTaskbarBadgeX11(_GLFWwindow* window, int count) { + _glfwInputError(GLFW_FEATURE_UNIMPLEMENTED, + "X11: Setting the taskbar progress badge is not implemented"); } void _glfwGetWindowPosX11(_GLFWwindow* window, int* xpos, int* ypos)