diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-07 15:43:31 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-13 13:24:08 +1000 |
commit | b9d6ae42b686287d7d23c2eefe2b12da98fe6ff8 (patch) | |
tree | ea333a613272163135833f5530a3ddc1b1a061bc | |
parent | 80816366aa77f1730a1b6ddabfa55a946d76d494 (diff) |
dix: remove event type check
Can't remember why this is there but we'll need to pass in XI2 events soon,
so this check is obsolete.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r-- | dix/events.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/dix/events.c b/dix/events.c index 3041ae601..e94001aec 100644 --- a/dix/events.c +++ b/dix/events.c @@ -3653,13 +3653,6 @@ ActivatePassiveGrab(DeviceIntPtr device, GrabPtr grab, InternalEvent *event) int count; int rc; - if (!GetXIType(event->any.type) && !GetCoreType(event->any.type)) - { - ErrorF("Event type %d in CheckPassiveGrabsOnWindow is neither" - " XI 1.x nor core\n", event->any.type); - return FALSE; - } - /* The only consumers of corestate are Xi 1.x and core events, which * are guaranteed to come from DeviceEvents. */ if (grab->grabtype == GRABTYPE_XI || grab->grabtype == GRABTYPE_CORE) |