SDL: Updated debug print with new SDL_DisplayMode fields

From 79052540879ed00bafdb70884fbbcffe4c7ec4bc Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 5 Mar 2023 13:46:07 -0800
Subject: [PATCH] Updated debug print with new SDL_DisplayMode fields

---
 src/video/x11/SDL_x11modes.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 mode change 100644 => 100755 src/video/x11/SDL_x11modes.c

diff --git a/src/video/x11/SDL_x11modes.c b/src/video/x11/SDL_x11modes.c
old mode 100644
new mode 100755
index 567f18175591..245f6a512c97
--- a/src/video/x11/SDL_x11modes.c
+++ b/src/video/x11/SDL_x11modes.c
@@ -226,7 +226,8 @@ static SDL_bool SetXRandRModeInfo(Display *display, XRRScreenResources *res, RRC
             mode->refresh_rate = CalculateXRandRRefreshRate(info);
             ((SDL_DisplayModeData *)mode->driverdata)->xrandr_mode = modeID;
 #ifdef X11MODES_DEBUG
-            printf("XRandR mode %d: %dx%d@%dHz\n", (int)modeID, mode->w, mode->h, mode->refresh_rate);
+            printf("XRandR mode %d: %dx%d@%dHz\n", (int)modeID,
+                   mode->screen_w, mode->screen_h, mode->refresh_rate);
 #endif
             return SDL_TRUE;
         }