[PATCH] xfree86: add option "Floating", deprecate SendCoreEvents and friends.

Daniel Stone daniel at fooishbar.org
Mon Dec 6 07:25:45 PST 2010


On Mon, Dec 06, 2010 at 05:02:03PM +1000, Peter Hutterer wrote:
> On Mon, Dec 06, 2010 at 04:50:17PM +1000, Peter Hutterer wrote:
> > Some devices should be initialised as floating from the start (e.g.
> > Joysticks and accelerometers benefit from this). Currently users use the
> > "SendCoreEvents" "off" flag for this, which isn't the most appropriate
> > naming.
> > 
> > Add an option "Floating", deprecate the others. Still parsed and handled by
> > the server.
> > 
> > Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> > ---
> >  hw/xfree86/common/xf86Xinput.c       |    3 +-
> >  hw/xfree86/doc/devel/Registry        |    1 +
> >  hw/xfree86/doc/man/xorg.conf.man.pre |   48 +++++++++++++++++++++------------
> >  3 files changed, 33 insertions(+), 19 deletions(-)
> > 
> > diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c
> > index 2e0d80b..3a30f4f 100644
> > --- a/hw/xfree86/common/xf86Xinput.c
> > +++ b/hw/xfree86/common/xf86Xinput.c
> > @@ -280,7 +280,8 @@ void
> >  xf86ProcessCommonOptions(InputInfoPtr pInfo,
> >                           pointer	list)
> >  {
> > -    if (!xf86SetBoolOption(list, "AlwaysCore", 1) ||
> > +    if (xf86SetBoolOption(list, "Float", 0) ||
> 
> this should read "Floating", the git commit --amend screwed up.

Hah, was just about to ask about that. :)

Reviewed-by: Daniel Stone <daniel at fooishbar.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101206/ab95addc/attachment.pgp>


More information about the xorg-devel mailing list