summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-12-06 13:50:45 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-12-06 14:01:34 +1000
commit43174d30646e3f5cb88bb43ad6d6205f293a3f5d (patch)
tree4629c6a89ab4fc2a0f8e8d43395394e5647cc6fb
parente94b68a57eaed1a51f2293d2dc679fe22bee2e1b (diff)
server/barriers: don't expect events for non-barrier-owning clients
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--tests/server/barriers-validity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/server/barriers-validity.cpp b/tests/server/barriers-validity.cpp
index 0112739..52f7662 100644
--- a/tests/server/barriers-validity.cpp
+++ b/tests/server/barriers-validity.cpp
@@ -72,10 +72,12 @@ TEST_F(BarrierSimpleTest, MultipleClientSecurity)
mask.mask = new unsigned char[mask.mask_len]();
XISetMask(mask.mask, XI_BarrierHit);
XISelectEvents(dpy1, root, &mask, 1);
+ XISelectEvents(dpy2, root, &mask, 1);
delete[] mask.mask;
XIWarpPointer(dpy1, VIRTUAL_CORE_POINTER_ID, None, root, 0, 0, 0, 0, 30, 30);
XSync(dpy1, False);
+ XSync(dpy2, False);
dev->PlayOne(EV_REL, REL_X, -40, True);