diff options
author | Chase Douglas <chase.douglas@ubuntu.com> | 2010-10-13 20:52:56 +0200 |
---|---|---|
committer | Chase Douglas <chase.douglas@ubuntu.com> | 2010-10-13 21:37:41 +0200 |
commit | c09455817c08d2b232cd084781350f5e9066c61b (patch) | |
tree | 02c2dedd07d8ce4bf989e27b9cf447644d257f3a | |
parent | da4eebe58ec81e2297cc1773af1fb622fb392bbd (diff) |
test: input - set valuators mask for event to core conversion
Commit de8be07cc0a8163b6ef04455706fd5ca2cebe587 adds a requirement to
event to core conversion that at least one of the X or Y valuators are
set in the valuator mask. This commit fixes the event conversion test to
be compliant.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r-- | test/input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/input.c b/test/input.c index b90d3b4fd..f08e13b9e 100644 --- a/test/input.c +++ b/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; |