Store the requested muted state

(cherry picked from commit 7cc3e94eb22f2ee76742bfb4c101757fcb70c4b7)
This commit is contained in:
Sam Lantinga 2023-11-08 03:36:47 -08:00
parent 87bb0f5bcb
commit 5d29f22808

View File

@ -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;
}
/*