Browse Source

Store the requested muted state

(cherry picked from commit 7cc3e94eb22f2ee76742bfb4c101757fcb70c4b7)
Sam Lantinga 1 year ago
parent
commit
5d29f22808
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/linux/SDL_evdev_kbd.c

+ 1 - 0
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;
 }
 
 /*