While trying to understand MaxX usage, I notice similar strange code in wcmRotateTablet() that I'm guessing was added at same time since its called during updates to prop_rotate.
Chris On Tue, Feb 23, 2010 at 11:07 PM, Peter Hutterer <peter.hutte...@who-t.net> wrote: > 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 <peter.hutte...@who-t.net> > --- > 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 > Linuxwacom-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel > ------------------------------------------------------------------------------ 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 Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel