input: switch InitValuatorAxisStruct to return Bool
Return errors instead of silently ignoring them. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
@@ -40,7 +40,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
extern _X_EXPORT int InitProximityClassDeviceStruct(
|
||||
DeviceIntPtr /* dev */);
|
||||
|
||||
extern _X_EXPORT void InitValuatorAxisStruct(
|
||||
extern _X_EXPORT Bool InitValuatorAxisStruct(
|
||||
DeviceIntPtr /* dev */,
|
||||
int /* axnum */,
|
||||
Atom /* label */,
|
||||
|
||||
Reference in New Issue
Block a user