SDL: Sync SDL3 wiki -> header (5755b)

From 5755bde3b85fe0e7c77354bda6b787dfb8f350d2 Mon Sep 17 00:00:00 2001
From: SDL Wiki Bot <[EMAIL REDACTED]>
Date: Mon, 1 Jul 2024 20:36:18 +0000
Subject: [PATCH] Sync SDL3 wiki -> header

---
 docs/README-wayland.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/README-wayland.md b/docs/README-wayland.md
index bd6601cc2afa1..7f831fe6ed316 100644
--- a/docs/README-wayland.md
+++ b/docs/README-wayland.md
@@ -194,7 +194,7 @@ int main(int argc, char *argv[])
     /* Draw a blue screen for the window until ESC is pressed or the window is no longer visible. */
     while (!done) {
         while (SDL_PollEvent(&e)) {
-            if (e.type == SDL_EVENT_KEY_DOWN && e.key.keysym.sym == SDLK_ESCAPE) {
+            if (e.type == SDL_EVENT_KEY_DOWN && e.key.key == SDLK_ESCAPE) {
                 done = 1;
             }
         }