[PATCH joystick 2/9] Remove usage of XI86_POINTER_CAPABLE flag.

Peter Hutterer peter.hutterer at who-t.net
Tue Dec 14 18:58:07 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/jstk.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/jstk.c b/src/jstk.c
index 747210a..660d328 100644
--- a/src/jstk.c
+++ b/src/jstk.c
@@ -527,8 +527,7 @@ jstkCorePreInit(InputDriverPtr drv, IDevPtr dev, int flags)
     priv = (JoystickDevPtr)pInfo->private;
 
     pInfo->name   = dev->identifier;
-    pInfo->flags  = XI86_POINTER_CAPABLE;
-    pInfo->flags |= XI86_SEND_DRAG_EVENTS;
+    pInfo->flags  = XI86_SEND_DRAG_EVENTS;
     pInfo->device_control = jstkDeviceControlProc;
     pInfo->read_input = jstkReadProc;
     pInfo->close_proc = NULL;
-- 
1.7.3.3



More information about the xorg-devel mailing list