(cherry picked from commit 7cc3e94eb22f2ee76742bfb4c101757fcb70c4b7)
@@ -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;
/*