Fixed X11 function signature

This commit is contained in:
GamesTrap 2023-03-04 21:19:25 +01:00
parent ec03ae4d05
commit 7793239932
No known key found for this signature in database
GPG Key ID: 31DFD452434ECDA3
3 changed files with 7 additions and 1 deletions

View File

@ -1169,6 +1169,8 @@ void _glfwSetWindowTaskbarProgressCocoa(_GLFWwindow* window, int progressState,
void _glfwSetWindowTaskbarBadgeCocoa(_GLFWwindow* window, int count) 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) void _glfwGetWindowPosCocoa(_GLFWwindow* window, int* xpos, int* ypos)

View File

@ -1913,6 +1913,8 @@ void _glfwSetWindowTaskbarProgressWayland(_GLFWwindow* window, const int progres
void _glfwSetWindowTaskbarBadgeWayland(_GLFWwindow* window, int count) 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) void _glfwGetWindowPosWayland(_GLFWwindow* window, int* xpos, int* ypos)

View File

@ -2161,8 +2161,10 @@ void _glfwSetWindowTaskbarProgressX11(_GLFWwindow* window, int progressState, do
_glfwUpdateTaskbarProgressDBusPOSIX(progressVisible, value); _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) void _glfwGetWindowPosX11(_GLFWwindow* window, int* xpos, int* ypos)