aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/include/inputstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/include/inputstr.h')
-rw-r--r--nx-X11/programs/Xserver/include/inputstr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/include/inputstr.h b/nx-X11/programs/Xserver/include/inputstr.h
index 5e2e26968..5bc7be2ff 100644
--- a/nx-X11/programs/Xserver/include/inputstr.h
+++ b/nx-X11/programs/Xserver/include/inputstr.h
@@ -147,6 +147,11 @@ typedef struct _ValuatorClassRec {
AxisInfoPtr axes;
unsigned short numAxes;
int *axisVal;
+ /* the next two are only written by xtest and never read currently. They exist
+ to satisfy the compiler. Once Xi is updated, too, they will be a regular member
+ anyway */
+ int lastx, lasty; /* last event recorded, not posted to
+ * client; see dix/devices.c */
CARD8 mode;
} ValuatorClassRec, *ValuatorClassPtr;