mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-14 00:01:20 +00:00
Make kdInputMachine static const, shrinks .data a bit.
This commit is contained in:
parent
6d7ee4167d
commit
49a9249239
2 changed files with 5 additions and 1 deletions
|
|
@ -790,6 +790,7 @@ typedef struct _inputTransition {
|
|||
KdMouseState nextState;
|
||||
} KdInputTransition;
|
||||
|
||||
static const
|
||||
KdInputTransition kdInputMachine[num_input_states][num_input_class] = {
|
||||
/* start */
|
||||
{
|
||||
|
|
@ -1046,7 +1047,7 @@ KdQueueEvent (xEvent *ev)
|
|||
static void
|
||||
KdRunMouseMachine (KdMouseInfo *mi, KdInputClass c, xEvent *ev)
|
||||
{
|
||||
KdInputTransition *t;
|
||||
const KdInputTransition *t;
|
||||
int a;
|
||||
|
||||
t = &kdInputMachine[mi->mouseState][c];
|
||||
|
|
|
|||
Loading…
Reference in a new issue