diff options
author | Keith Packard <keithp@keithp.com> | 2009-11-04 08:55:20 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-11-04 08:55:20 -0800 |
commit | 7442f3355ab8f0bb2b1a270da18c65d8d315d4dd (patch) | |
tree | 66b3ca9d117013e4f41a4ad2669a8ece8d62d609 /dix | |
parent | 0573042cddb6f9942e408687a16c6842e62a8bfa (diff) | |
parent | 7897b6c2d41bccb72c19418674c3526ecce29515 (diff) |
Merge remote branch 'jeremyhu/master'
Diffstat (limited to 'dix')
-rw-r--r-- | dix/events.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dix/events.c b/dix/events.c index d070a4c6f..015c2b19f 100644 --- a/dix/events.c +++ b/dix/events.c @@ -1673,7 +1673,7 @@ AllowSome(ClientPtr client, thisGrabbed = grabinfo->grab && SameClient(grabinfo->grab, client); thisSynced = FALSE; otherGrabbed = FALSE; - othersFrozen = TRUE; + othersFrozen = FALSE; grabTime = grabinfo->grabTime; for (dev = inputInfo.devices; dev; dev = dev->next) { @@ -1689,11 +1689,9 @@ AllowSome(ClientPtr client, otherGrabbed = TRUE; if (grabinfo->sync.other == devgrabinfo->grab) thisSynced = TRUE; - if (devgrabinfo->sync.state < FROZEN) - othersFrozen = FALSE; + if (devgrabinfo->sync.state >= FROZEN) + othersFrozen = TRUE; } - else if (!devgrabinfo->sync.other || !SameClient(devgrabinfo->sync.other, client)) - othersFrozen = FALSE; } if (!((thisGrabbed && grabinfo->sync.state >= FROZEN) || thisSynced)) return; |