[PATCH libX11 3/4] man: Fix value of XkbAllComponentsMask in XkbGetKeyboard

Dirk Wallenstein halsmit at t-online.de
Wed Feb 3 10:12:08 PST 2010


On Tue, 02 Feb 2010 13:44:48 -0800 Jeremy Huddleston wrote:
> I'd prefer to see this written as:
>
> (1L<<7) - 1L
>
> On Feb 2, 2010, at 12:24, Dirk Wallenstein wrote:
> > XkbAllComponentsMask is the combination of all component masks not just
> > a single bit.
> >
> > Signed-off-by: Dirk Wallenstein <halsmit at t-online.de>
> > ---
> > man/xkb/XkbGetKeyboard.man |    2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/man/xkb/XkbGetKeyboard.man b/man/xkb/XkbGetKeyboard.man
> > index ab6b8d7..0ae0715 100644
> > --- a/man/xkb/XkbGetKeyboard.man
> > +++ b/man/xkb/XkbGetKeyboard.man
> > @@ -73,7 +73,7 @@ XkbIndicatorMapMask	indicators	(1L<<3)
> > XkbNamesMask	names	(1L<<4)
> > XkbCompatMapMask	compat	(1L<<5)
> > XkbGeometryMask	geom	(1L<<6)
> > -XkbAllComponentsMask	All Fields	(1L<<7)
> > +XkbAllComponentsMask	All Fields	(0x7f)
> > .TE
> >
> > .I XkbGetKeyboard
> > --
> > 1.6.5.3
> >
> > _______________________________________________
> > xorg-devel mailing list
> > xorg-devel at lists.x.org
> > http://lists.x.org/mailman/listinfo/xorg-devel
>
> _______________________________________________
> xorg-devel mailing list
> xorg-devel at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-devel


If it's a value I'd like to have it in sync with the code for easy
comparison. I can change both if you like. Alternatively I could use the
OR-ed other masks.


More information about the xorg-devel mailing list