diff options
author | Alex Plotnick <shrike@netaxs.com> | 2011-10-13 15:08:23 -0400 |
---|---|---|
committer | Peter Harris <pharris@opentext.com> | 2011-10-13 15:08:23 -0400 |
commit | f3ae971edce37ad96ef0b8a6059c1f853e88fcf3 (patch) | |
tree | caebadc69c604624f69c43e30ed72dc1fedac4cf | |
parent | dcfcb5845caca87df8b1ab735f05a801e43f5797 (diff) |
Corrected type of FakeInput rootX & rootY fields
The FakeInput request defined by the XTEST extension has two fields, rootX and
rootY, that are used to indicate relative or absolute pointer coordinates for
fake motion events. These fields are of type INT16, not CARD16. (They must be
signed to allow for negative relative motions and to align with the root-x and
root-y fields of MotionNotify events.)
Signed-off-by: Peter Harris <pharris@opentext.com>
-rw-r--r-- | src/xtest.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xtest.xml b/src/xtest.xml index e481929..7f0b262 100644 --- a/src/xtest.xml +++ b/src/xtest.xml @@ -88,8 +88,8 @@ authorization from the authors. <field type="CARD32" name="time" /> <field type="WINDOW" name="root" /> <pad bytes="8" /> - <field type="CARD16" name="rootX" /> - <field type="CARD16" name="rootY" /> + <field type="INT16" name="rootX" /> + <field type="INT16" name="rootY" /> <pad bytes="7" /> <!-- Version 2.2: XInput device --> <field type="CARD8" name="deviceid" /> |