From 7adc3c6c42108e02d17167ff9edc7fcf05705e29 Mon Sep 17 00:00:00 2001 From: annes Date: Thu, 25 Dec 2025 16:58:12 +0800 Subject: [PATCH] poopy --- src/cocoa_window.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 411913d0b..7143d5b04 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -1060,7 +1060,10 @@ void _glfwSetWindowIconCocoa(_GLFWwindow* window, { /*_glfwInputError(GLFW_FEATURE_UNAVAILABLE, "Cocoa: Regular windows do not have icons on macOS");*/ - __CocoaSetDockIcon(); // TODO: IMPLEMENT + if (count >= 1) { + const GLFWimage poopy = images[0]; + __CocoaSetDockIcon(poopy.pixels, poopy.width, poopy.height); + } } void _glfwGetWindowPosCocoa(_GLFWwindow* window, int* xpos, int* ypos)