summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-08-20 10:00:57 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-08-20 10:00:57 +1000
commit00742d9a9bcd06800b2548007ea304c331875666 (patch)
treead937fb1fbe21bb75f1ceac0d57c3c20804d68ce
parent857b96987d713dc82edef9e04b06fd9eba77bde2 (diff)
Don't force pInfo->flags to 0 (#40870)HEADmaster
The server uses the flags to decide if a device comes up as attached or floating slave. Overwriting the flag after the server has processed the CorePointer/AlwaysCore/Floating/etc options results in the device always coming up as floating slave. This again makes the device appear unresponsive. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/xf86Fpit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xf86Fpit.c b/src/xf86Fpit.c
index 3c70b4a..8852d4d 100644
--- a/src/xf86Fpit.c
+++ b/src/xf86Fpit.c
@@ -527,7 +527,6 @@ static int xf86FpitAllocate(InputDriverPtr drv, InputInfoPtr pInfo)
priv->fpitOldProximity = 0;
priv->fpitIndex = 0;
priv->fpitPassive = 0;
- pInfo->flags = 0 /* XI86_NO_OPEN_ON_INIT */ ;
pInfo->device_control = xf86FpitControl;
pInfo->read_input = xf86FpitReadInput;
pInfo->control_proc = NULL;