mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +00:00
XKB: Sanitise ctrls action
Turn four unsigned chars into one unsigned long. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
1bd7fd195d
commit
b5f49382fe
4 changed files with 7 additions and 19 deletions
|
|
@ -671,7 +671,7 @@ XkbEventCauseRec cause;
|
|||
filter->keycode = keycode;
|
||||
filter->active = 1;
|
||||
filter->filterOthers = 0;
|
||||
change= XkbActionCtrls(&pAction->ctrls);
|
||||
change= pAction->ctrls.ctrls;
|
||||
filter->priv = change;
|
||||
filter->filter = _XkbFilterControls;
|
||||
filter->upAction = *pAction;
|
||||
|
|
|
|||
Loading…
Reference in a new issue