SDL: Store the requested muted state (5d29f)

From 5d29f228081ac7429e190d9adf44d8fbd5985f77 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 8 Nov 2023 03:36:47 -0800
Subject: [PATCH] Store the requested muted state

(cherry picked from commit 7cc3e94eb22f2ee76742bfb4c101757fcb70c4b7)
---
 src/core/linux/SDL_evdev_kbd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/core/linux/SDL_evdev_kbd.c b/src/core/linux/SDL_evdev_kbd.c
index 83b5490d8dbc..9e43ecf9cb79 100644
--- a/src/core/linux/SDL_evdev_kbd.c
+++ b/src/core/linux/SDL_evdev_kbd.c
@@ -394,6 +394,7 @@ void SDL_EVDEV_kbd_set_muted(SDL_EVDEV_keyboard_state *state, SDL_bool muted)
         /* Restore the original keyboard mode */
         ioctl(state->console_fd, KDSKBMODE, state->old_kbd_mode);
     }
+    state->muted = muted;
 }
 
 /*