We did this before already anyway, make it official and return an error to the client as appropriate. Touchpads in absolute mode are somewhat useless.
Signed-off-by: Peter Hutterer <[email protected]> --- src/synaptics.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/synaptics.c b/src/synaptics.c index 3841517..fae071d 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -2462,7 +2462,7 @@ static int SwitchMode(ClientPtr client, DeviceIntPtr dev, int mode) { DBG(3, "SwitchMode called\n"); - return Success; + return (mode == Relative) ? Success : XI_BadMode; } static Bool -- 1.7.0.1 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
