summaryrefslogtreecommitdiff
path: root/test/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/input.c')
-rw-r--r--test/input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/input.c b/test/input.c
index 2aa76de6c..f8ce4b2df 100644
--- a/test/input.c
+++ b/test/input.c
@@ -183,6 +183,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;