From 310e4d72a8115ed58e5e37c7d4bd1ea751d8a0fc Mon Sep 17 00:00:00 2001 From: SuperUserNameMan <9801802+SuperUserNameMan@users.noreply.github.com> Date: Sun, 21 Jul 2024 15:53:55 +0200 Subject: [PATCH] rcore.c - add `CORE.Window.lastAssociatedMonitorIndex` for Wayland --- src/rcore.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rcore.c b/src/rcore.c index e68a9a7d5..045e63a4e 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -283,6 +283,8 @@ typedef struct CoreData { Size screenMax; // Screen maximum width and height (for resizable window) Matrix screenScale; // Matrix to scale screen (framebuffer rendering) + int lastAssociatedMonitorIndex; // Contains the last monitor index selected using `SetWindowMonitor()` (required by Wayland backend) + char **dropFilepaths; // Store dropped files paths pointers (provided by GLFW) unsigned int dropFileCount; // Count dropped files strings