From 1611cd54e7f9a17bab14902ebe37bd8b2945449d Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 4 Mar 2023 18:56:04 +0100 Subject: [PATCH] REVIEWED: `GetWindowHandle()` #2938 --- src/rcore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 443ef8e3a..6f4fa2951 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -1718,7 +1718,8 @@ void *GetWindowHandle(void) // typedef unsigned long XID; // typedef XID Window; //unsigned long id = (unsigned long)glfwGetX11Window(window); - return NULL; // TODO: Find a way to return value... cast to void *? + //return NULL; // TODO: Find a way to return value... cast to void *? + return (void *)CORE.Window.handle; #endif #if defined(__APPLE__) // NOTE: Returned handle is: (objc_object *)