summaryrefslogtreecommitdiff
path: root/test/xi2/protocol-eventconvert.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2011-06-09 16:02:47 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2011-09-29 12:23:51 +1000
commit60a766a96f9ec97adf6d0273f70ec23f313a11c6 (patch)
tree99a9aaaa760ca40acd575a9454080d5b35b69fb1 /test/xi2/protocol-eventconvert.c
parent5d62c32981dbe9630bed32567b55008b536c81c5 (diff)
Input: Add flags to RawDeviceEvent
Add a flags member which will be copied wholesale into the resultant xXIRawEvent. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'test/xi2/protocol-eventconvert.c')
-rw-r--r--test/xi2/protocol-eventconvert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/xi2/protocol-eventconvert.c b/test/xi2/protocol-eventconvert.c
index 6ec94be6c..80c47b06f 100644
--- a/test/xi2/protocol-eventconvert.c
+++ b/test/xi2/protocol-eventconvert.c
@@ -51,6 +51,7 @@ static void test_values_XIRawEvent(RawDeviceEvent *in, xXIRawEvent *out,
swapl(&out->time);
swapl(&out->detail);
swaps(&out->valuators_len);
+ swapl(&out->flags);
}