Applied, thanks!
Damien Zammit, le lun. 28 oct. 2024 08:09:05 +0000, a ecrit:
> Adding the missing NULL sentinel pointer allows
> delete key to function without crashing pc_kbd driver.
> ---
> console-client/xkb/xkb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/console-client/xkb/xkb.c b/console-client/xkb/xkb.c
> index 31253f5c..8759c8bf 100644
> --- a/console-client/xkb/xkb.c
> +++ b/console-client/xkb/xkb.c
> @@ -116,7 +116,7 @@ execute_action(keycode_t keycode)
> /* if CTRL+ALT+Delete is pressed notify the caller */
> if (keysym == XKB_KEY_Delete &&
> xkb_state_mod_names_are_active (state, XKB_STATE_MODS_EFFECTIVE,
> XKB_STATE_MATCH_ALL, XKB_MOD_NAME_CTRL,
> - XKB_MOD_NAME_ALT) > 0)
> + XKB_MOD_NAME_ALT, NULL) > 0)
> {
> console_exit ();
> return 1;
> --
> 2.45.2
>
>
>
--
Samuel
Moralité : le modem et le cablerouteur font comme les filles, ils
papotent toute la journée.
-+- RB in NPC : Et en plus, ils ne parlent que de bits -+-