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 <[email protected]>
> Signed-off-by: Peter Hutterer <[email protected]>
> ---
>  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 <[email protected]>
 
Cheers,
  Peter
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to