diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-08-16 10:23:15 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-08-17 15:12:08 +1000 |
commit | 948e472fb1eaa7ed0d733f93d9616ec5b199cd93 (patch) | |
tree | 37c88ace8acef97573fffda5b2884c0054589d4e /src/xf86Elo.c | |
parent | c65d8e4c3307add220af82b8db3c75629f96067d (diff) |
Don't force pInfo->flags to 0 (#40870)
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>
Diffstat (limited to 'src/xf86Elo.c')
-rw-r--r-- | src/xf86Elo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xf86Elo.c b/src/xf86Elo.c index d42ebec..ca21126 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; |