Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
This one is necessary to pass errors in the button properties up the stack
e.g. format, type errors or the None value.

 src/wcmXCommand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wcmXCommand.c b/src/wcmXCommand.c
index 9d5dd5e..af9dbb3 100644
--- a/src/wcmXCommand.c
+++ b/src/wcmXCommand.c
@@ -850,7 +850,7 @@ int wcmSetProperty(DeviceIntPtr dev, Atom property, 
XIPropertyValuePtr prop,
                unsigned int (*action)[256] = NULL;
                wcmFindActionHandler(priv, property, &handler, &action);
                if (handler != NULL && action != NULL)
-                       wcmSetActionProperty(dev, property, prop, checkonly, 
handler, action);
+                       return wcmSetActionProperty(dev, property, prop, 
checkonly, handler, action);
                /* backwards-compatible behavior silently ignores the not-found 
case */
        }
 
-- 
1.8.1


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to