diff options
author | Horst Wente <horst.wente@acm.org> | 2009-12-30 19:35:20 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-02-02 10:00:30 +1000 |
commit | b91cec26de367f75388e620772747b08eee34294 (patch) | |
tree | 92a19037348a8a84c439cfbed0110862c2a240ec | |
parent | 993e78d6c433f65bd8a87890a6bb6da480b2cdc4 (diff) |
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 <horst.wente@acm.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | xkb/xkmread.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |