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.

X.Org Bug 40870 <http://bugs.freedesktop.org/show_bug.cgi?id=40870>

Signed-off-by: Peter Hutterer <[email protected]>
---
 src/xf86Elo.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/xf86Elo.c b/src/xf86Elo.c
index 759c3c7..b8cc23b 100644
--- a/src/xf86Elo.c
+++ b/src/xf86Elo.c
@@ -886,7 +886,6 @@ xf86EloAllocate(InputDriverPtr drv, InputInfoPtr pInfo)
   priv->packet_buf_p = 0;
   priv->swap_axes = 0;
 
-  pInfo->flags = 0 /* XI86_NO_OPEN_ON_INIT */;
   pInfo->device_control = xf86EloControl;
   pInfo->read_input   = xf86EloReadInput;
   pInfo->control_proc = NULL;
-- 
1.7.11.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to