summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-02-18 16:00:15 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-02-23 11:25:55 +1000
commitc0d941913199ed251fceab62fcf65437f6f9bd31 (patch)
treec8df14ba01c02dff1192fd91334455d7c7e11a3c
parent93ff1bc5884cdfca1132af7fbc06c48e06f218c8 (diff)
dix: remove now-erroneous comment about frozen slave devices.
A direct grab on a slave device through XI2 detaches it, regardless of whether the grab is sync or async. So this comment doesn't apply to XI2 anyway. For XI1, aside from your life being miserable already, it doesn't matter as XI1 does not have a concept of attachment. You can freeze a device and if you don't freeze _all_ other devices at the same time, the master device can still happily send events to the client. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--dix/events.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/dix/events.c b/dix/events.c
index c085a75f3..4eb8afa01 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -1414,11 +1414,6 @@ CheckGrabForSyncs(DeviceIntPtr thisDev, Bool thisMode, Bool otherMode)
thisDev->deviceGrab.sync.other = NullGrab;
}
- /*
- XXX: Direct slave grab won't freeze the paired master device.
- The correct thing to do would be to freeze all SDs attached to the
- paired master device.
- */
if (IsMaster(thisDev))
{
dev = GetPairedDevice(thisDev);