diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-29 13:26:22 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-29 13:33:00 +1000 |
commit | 29ec14625111a8ae600d245ccbf905f059074d7c (patch) | |
tree | 7404609e6ab6b9f5361e92c69fab38c9d3e6546b /Xi/xipassivegrab.c | |
parent | 235cf5713a8fe535c439628cce9ea5b42432acb1 (diff) |
Xi: passively grabbing slave devices must be possible.
There's use-cases where this is useful, so take the check out preventing
that.
Reported-by: Thomas Jaeger
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xipassivegrab.c')
-rw-r--r-- | Xi/xipassivegrab.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Xi/xipassivegrab.c b/Xi/xipassivegrab.c index a8807bd32..fa76a770c 100644 --- a/Xi/xipassivegrab.c +++ b/Xi/xipassivegrab.c @@ -110,14 +110,6 @@ ProcXIPassiveGrabDevice(ClientPtr client) return BadValue; } - /* Can't grab for modifiers on an attached slave device */ - if (!IsMaster(dev)) - { - if (!dev->u.master) - stuff->paired_device_mode = GrabModeAsync; - else if (dev->u.master && stuff->num_modifiers) - return BadDevice; - } if ((stuff->mask_len * 4) > XI_LASTEVENT) { unsigned char *bits = (unsigned char*)&stuff[1]; |