aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/events.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-10-19 20:18:13 +0000
committermarha <marha@users.sourceforge.net>2009-10-19 20:18:13 +0000
commitf490d83dad064de52a65a1c5a7e374a1a176f05a (patch)
tree35d69842a56af15a5ec82dd875dfd5a2f987ad9c /xorg-server/dix/events.c
parentb567a3027bceabc0f1f42dd162268f06f15e8149 (diff)
downloadvcxsrv-f490d83dad064de52a65a1c5a7e374a1a176f05a.tar.gz
vcxsrv-f490d83dad064de52a65a1c5a7e374a1a176f05a.tar.bz2
vcxsrv-f490d83dad064de52a65a1c5a7e374a1a176f05a.zip
Updated to xorg-server-1.7.0.902
Diffstat (limited to 'xorg-server/dix/events.c')
-rw-r--r--xorg-server/dix/events.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xorg-server/dix/events.c b/xorg-server/dix/events.c
index d60b8a534..8f63d3381 100644
--- a/xorg-server/dix/events.c
+++ b/xorg-server/dix/events.c
@@ -345,7 +345,9 @@ DevHasCursor(DeviceIntPtr pDev)
Bool
IsPointerDevice(DeviceIntPtr dev)
{
- return (dev->type == MASTER_POINTER) || (dev->valuator && dev->button);
+ return (dev->type == MASTER_POINTER) ||
+ (dev->valuator && dev->button) ||
+ (dev->valuator && !dev->key);
}
/*