[Xcb] Add xcb_size_hints_is_none() in xcb-util/icccm

Barton C Massey bart at cs.pdx.edu
Thu Mar 27 23:18:38 PDT 2008


If I get a vote, I choose the second thing.  Those settor
and accessor functions seem a bit noisy to me.

	Bart

In message <20080328043626.GB5588 at oh.minilop.net> you wrote:
> On Thu, Jan 10, 2008 at 11:29:50PM +0100, Arnaud Fontaine wrote:
> > In    order    to    port    Awesome    to    XCB,    I    would    need
> > xcb_size_hints_is_flag_none function  (ATM, I wrote my  own function but
> > it's a  bit ugly because  xcb_size_hints_t structure is not  declared in
> > the public interface) in order to check whether the 'flags' field equals
> > to 0.
> 
> This patch seems fine to me. I'd also accept a patch to replace all of
> the xcb_size_hints_is_* functions with one that just returns
> hints->flags. Which would you find more useful?
> 
> Jamey


More information about the Xcb mailing list