From d3f5bc40436ef45aee2cc353f985d4ad5fc57bbd Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 5 Mar 2023 20:06:45 +0100 Subject: [PATCH] REVIEWED: `GetWindowHandle()` #2950 --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 4efb20179..4f3d98b0f 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -1713,7 +1713,7 @@ void *GetWindowHandle(void) // NOTE: Returned handle is: void *HWND (windows.h) return glfwGetWin32Window(CORE.Window.handle); #endif -#if defined(__linux__) && !defined(PLATFORM_DRM) +#if defined(PLATFORM_DESKTOP) && defined(__linux__) // NOTE: Returned handle is: unsigned long Window (X.h) // typedef unsigned long XID; // typedef XID Window;