I don't quite know why this is there but it strikes me as really really weird and the commit message for this code gives no indication on why it's necessary.
Signed-off-by: Peter Hutterer <[email protected]> --- src/wcmXCommand.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/wcmXCommand.c b/src/wcmXCommand.c index 79ca83a..a4edb41 100644 --- a/src/wcmXCommand.c +++ b/src/wcmXCommand.c @@ -69,14 +69,12 @@ int wcmDevSwitchModeCall(LocalDevicePtr local, int mode) if ((mode == Absolute) && !is_absolute) { priv->flags |= ABSOLUTE_FLAG; - xf86ReplaceStrOption(local->options, "Mode", "Absolute"); wcmInitialCoordinates(local, 0); wcmInitialCoordinates(local, 1); } else if ((mode == Relative) && is_absolute) { priv->flags &= ~ABSOLUTE_FLAG; - xf86ReplaceStrOption(local->options, "Mode", "Relative"); wcmInitialCoordinates(local, 0); wcmInitialCoordinates(local, 1); } -- 1.6.6.1 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
