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>
This commit is contained in:
parent
993e78d6c4
commit
b91cec26de
|
@ -531,7 +531,13 @@ XkbAction *act;
|
||||||
act->devval.v2_ndx = wire.actionData[5];
|
act->devval.v2_ndx = wire.actionData[5];
|
||||||
act->devval.v2_what = wire.actionData[6];
|
act->devval.v2_what = wire.actionData[6];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case XkbSA_XFree86Private:
|
case XkbSA_XFree86Private:
|
||||||
|
/* copy the kind of action */
|
||||||
|
strncpy((char*)act->any.data, (char*)wire.actionData,
|
||||||
|
XkbAnyActionDataSize);
|
||||||
|
break ;
|
||||||
|
|
||||||
case XkbSA_Terminate:
|
case XkbSA_Terminate:
|
||||||
/* no args, kinda (note: untrue for xfree86). */
|
/* no args, kinda (note: untrue for xfree86). */
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue