summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Grant <wgrant@ubuntu.com>2008-10-11 10:22:11 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-11 10:23:59 +1030
commitdb6e631d31d4ffd476ccd105f8adb8d8b4727b29 (patch)
treeb10018daa3401c92c5742b9b38f774d212d09351 /src
parent863482ac1ff460d39bcf4d26c29bcda8740c41f7 (diff)
Return correctly on successful property setting
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. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/properties.c2
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