From b91cec26de367f75388e620772747b08eee34294 Mon Sep 17 00:00:00 2001 From: Horst Wente Date: Wed, 30 Dec 2009 19:35:20 +0100 Subject: xkb: make ctrl+alt+keypad + / ctrl+alt+keypad - work again (#25743) Video mode switching via keypad keys did not work Signed-off-by: Horst Wente Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- xkb/xkmread.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xkb/xkmread.c b/xkb/xkmread.c index 6623d1bf0..3c2df03fe 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; -- cgit v1.2.3