In ABI 12, flags are used by the server and may contain attachment
information. Don't reset the flags, we'd end up with floating devices.
Since at least server 1.6, the InputInfoRec as calloc'd and flags is thus 0
by default anyway.

Signed-off-by: Peter Hutterer <[email protected]>
---
 src/wcmConfig.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/wcmConfig.c b/src/wcmConfig.c
index 7aaaf6a..efb0502 100644
--- a/src/wcmConfig.c
+++ b/src/wcmConfig.c
@@ -56,7 +56,6 @@ static int wcmAllocate(InputInfoPtr pInfo)
        if (!area)
                goto error;
 
-       pInfo->flags = 0;
        pInfo->device_control = gWacomModule.DevProc;
        pInfo->read_input = gWacomModule.DevReadInput;
        pInfo->control_proc = gWacomModule.DevChangeControl;
-- 
1.7.3.3


------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to