[PATCH] xf86-input-synaptics: Return correctly on successful property setting

William Grant wgrant at ubuntu.com
Fri Oct 10 03:04:58 PDT 2008


TRUE was not replaced with Success when all of the other property
handler return codes were. This meant that properties ended up set in
the driver but not the rest of the server.
---
 src/properties.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/properties.c b/src/properties.c
index dc10888..aa197f2 100644
--- a/src/properties.c
+++ b/src/properties.c
@@ -505,7 +505,7 @@ SetProperty(DeviceIntPtr dev, Atom property,
XIPropertyValuePtr prop)
         para->grab_event_device = *(BOOL*)prop->data;
     }

-    return TRUE;
+    return Success;
 }

 #endif
-- 
1.5.6.3



More information about the xorg mailing list