mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-04-14 11:54:16 +00:00
DeviceOn and friends return a status code, not a bool
No functional changes, just making things more obvious. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -131,10 +131,10 @@ static int HandleState(InputInfoPtr, struct SynapticsHwState *, CARD32 now,
|
||||
Bool from_timer);
|
||||
static int ControlProc(InputInfoPtr, xDeviceCtl *);
|
||||
static int SwitchMode(ClientPtr, DeviceIntPtr, int);
|
||||
static Bool DeviceInit(DeviceIntPtr);
|
||||
static Bool DeviceOn(DeviceIntPtr);
|
||||
static Bool DeviceOff(DeviceIntPtr);
|
||||
static Bool DeviceClose(DeviceIntPtr);
|
||||
static int DeviceInit(DeviceIntPtr);
|
||||
static int DeviceOn(DeviceIntPtr);
|
||||
static int DeviceOff(DeviceIntPtr);
|
||||
static int DeviceClose(DeviceIntPtr);
|
||||
static Bool QueryHardware(InputInfoPtr);
|
||||
static void ReadDevDimensions(InputInfoPtr);
|
||||
static void ScaleCoordinates(SynapticsPrivate * priv,
|
||||
@@ -882,7 +882,7 @@ SynapticsCtrl(DeviceIntPtr device, PtrCtrl * ctrl)
|
||||
{
|
||||
}
|
||||
|
||||
static Bool
|
||||
static int
|
||||
DeviceControl(DeviceIntPtr dev, int mode)
|
||||
{
|
||||
Bool RetValue;
|
||||
@@ -907,7 +907,7 @@ DeviceControl(DeviceIntPtr dev, int mode)
|
||||
return RetValue;
|
||||
}
|
||||
|
||||
static Bool
|
||||
static int
|
||||
DeviceOn(DeviceIntPtr dev)
|
||||
{
|
||||
InputInfoPtr pInfo = dev->public.devicePrivate;
|
||||
@@ -981,7 +981,7 @@ SynapticsReset(SynapticsPrivate * priv)
|
||||
memset(priv->open_slots, 0, priv->num_slots * sizeof(int));
|
||||
}
|
||||
|
||||
static Bool
|
||||
static int
|
||||
DeviceOff(DeviceIntPtr dev)
|
||||
{
|
||||
InputInfoPtr pInfo = dev->public.devicePrivate;
|
||||
@@ -1009,7 +1009,7 @@ DeviceOff(DeviceIntPtr dev)
|
||||
return rc;
|
||||
}
|
||||
|
||||
static Bool
|
||||
static int
|
||||
DeviceClose(DeviceIntPtr dev)
|
||||
{
|
||||
Bool RetValue;
|
||||
@@ -1128,7 +1128,7 @@ DeviceInitTouch(DeviceIntPtr dev, Atom *axes_labels)
|
||||
}
|
||||
}
|
||||
|
||||
static Bool
|
||||
static int
|
||||
DeviceInit(DeviceIntPtr dev)
|
||||
{
|
||||
InputInfoPtr pInfo = dev->public.devicePrivate;
|
||||
|
||||
Reference in New Issue
Block a user