[PATCH elographics] Don't force pInfo->flags to 0 (#40870)

Peter Hutterer peter.hutterer at who-t.net
Wed Aug 15 18:14:53 PDT 2012


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 <peter.hutterer at who-t.net>
---
 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



More information about the xorg-devel mailing list