mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 18:08:08 +02: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
|
|
@ -6,6 +6,9 @@
|
|||
* mi/misprite.c:
|
||||
Style fix, make SCREEN_EPILOGUE two arguments instead of three.
|
||||
|
||||
* hw/kdrive/src/kinput.c:
|
||||
Make kdInputMachine static const, shrinks .data a bit.
|
||||
|
||||
2005-12-29 Dave Airlie <airlied@linux.ie>
|
||||
|
||||
* hw/xfree86/os-support/bus/Pci.c: (pciByteSwap):
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Reference in a new issue