Browse Source

Store the requested muted state

Sam Lantinga 1 year ago
parent
commit
7cc3e94eb2
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

@@ -393,6 +393,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;
 }
 
 /*