rcore.c - add CORE.Window.lastAssociatedMonitorIndex for Wayland

This commit is contained in:
SuperUserNameMan 2024-07-21 15:53:55 +02:00 committed by GitHub
parent 04138459f0
commit 310e4d72a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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