[PATCH] xkb: make ctrl+alt+keypad + / ctrl+alt+keypad - work again (#25743)

Peter Hutterer peter.hutterer at who-t.net
Mon Jan 4 19:28:19 PST 2010


On Tue, Jan 05, 2010 at 01:26:14PM +1000, Peter Hutterer wrote:
> Video mode switching via keypad keys did not work
> 
> Signed-off-by: horst wente <horst.wente at acm.org>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  xkb/xkmread.c |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/xkb/xkmread.c b/xkb/xkmread.c
> index 6623d1b..3c2df03 100644
> --- a/xkb/xkmread.c
> +++ b/xkb/xkmread.c
> @@ -531,7 +531,13 @@ XkbAction               *act;
>              act->devval.v2_ndx = wire.actionData[5];
>              act->devval.v2_what = wire.actionData[6];
>              break;
> +
>          case XkbSA_XFree86Private:
> +            /* copy the kind of action */
> +            strncpy((char*)act->any.data, (char*)wire.actionData,
> +                    XkbAnyActionDataSize);
> +            break ;
> +
>          case XkbSA_Terminate:
>              /* no args, kinda (note: untrue for xfree86). */
>              break;
> -- 
> 1.6.5.2
 
doh. screwed up when sending, this was written by Horst.
Author: Horst Wente <horst.wente at acm.org>
 
Cheers,
  Peter


More information about the xorg-devel mailing list