aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/test/input.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-11-04 16:20:49 +0000
committermarha <marha@users.sourceforge.net>2010-11-04 16:20:49 +0000
commit840f23bc506c991216214aa4cfc87978ef739a77 (patch)
tree3c88f8bea334c218a879322d6c60e14b4977e7d2 /xorg-server/test/input.c
parentb50a4f12cd633b412387c4cddc0adbb45256acfe (diff)
parent41c64098a90b4e974d5005a1619472f2e8a64ea1 (diff)
downloadvcxsrv-840f23bc506c991216214aa4cfc87978ef739a77.tar.gz
vcxsrv-840f23bc506c991216214aa4cfc87978ef739a77.tar.bz2
vcxsrv-840f23bc506c991216214aa4cfc87978ef739a77.zip
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/test/input.c')
-rw-r--r--xorg-server/test/input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/test/input.c b/xorg-server/test/input.c
index 42435a9db..240c2905b 100644
--- a/xorg-server/test/input.c
+++ b/xorg-server/test/input.c
@@ -182,6 +182,8 @@ static void dix_event_to_core(int type)
ev.time = time;
ev.root_y = x;
ev.root_x = y;
+ SetBit(ev.valuators.mask, 0);
+ SetBit(ev.valuators.mask, 1);
ev.root = ROOT_WINDOW_ID;
ev.corestate = state;
ev.detail.key = detail;