diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-31 13:12:53 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-31 17:42:06 +0930 |
commit | 6cecae0e8651b1fa58b3cd0e0a636db46f56f6a6 (patch) | |
tree | 68514178713d34c408c92b4283e101406a5cf678 | |
parent | 105d28652d1fb80dd8ce8511e2605dccc8812e99 (diff) |
dix: Remove superfluous comment.
This code can handle devices with < 2 valuators now.
-rw-r--r-- | dix/getevents.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dix/getevents.c b/dix/getevents.c index b5657a86e..37bd20323 100644 --- a/dix/getevents.c +++ b/dix/getevents.c @@ -893,8 +893,7 @@ GetPointerEvents(EventList *events, DeviceIntPtr pDev, int type, int buttons, return 0; /* FIXME: I guess it should, in theory, be possible to post button events * from devices without valuators. */ - /* This method require at least valuator 0&1 defined on the InputDevice */ - if (!pDev->valuator || pDev->valuator->numAxes < 2) + if (!pDev->valuator) return 0; if (type == MotionNotify && num_valuators <= 0) return 0; |