[PATCH aiptek 02/18] Remove usage of XI86_POINTER_CAPABLE flag.

Peter Hutterer peter.hutterer at who-t.net
Wed Dec 1 18:13:33 PST 2010


Flag was write-only for a number of server generations already.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/xf86Aiptek.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
index 1e6d39b..b19aa7b 100644
--- a/src/xf86Aiptek.c
+++ b/src/xf86Aiptek.c
@@ -1048,7 +1048,7 @@ xf86AiptekHIDOpen(InputInfoPtr pInfo)
     {
         common->deviceArray[i]->read_input = xf86AiptekHIDReadInput;
         common->deviceArray[i]->fd = pInfo->fd;
-        common->deviceArray[i]->flags |= XI86_POINTER_CAPABLE | XI86_CONFIGURED;
+        common->deviceArray[i]->flags |= XI86_CONFIGURED;
     }
     common->open = xf86AiptekHIDOpen;
 
@@ -2509,7 +2509,7 @@ xf86AiptekInit(InputDriverPtr    drv,
     xf86Msg(X_CONFIG, "%s: xf86AiptekInit() finished\n", dev->identifier);
 
     /* Mark the device as configured */
-    pInfo->flags |= XI86_POINTER_CAPABLE | XI86_CONFIGURED;
+    pInfo->flags |= XI86_CONFIGURED;
 
     /* return the pInfoDevice */
     return (pInfo);
-- 
1.7.3.2



More information about the xorg-devel mailing list