[Xcb] Add xcb_size_hints_is_none() in xcb-util/icccm
Jamey Sharp
jamey at minilop.net
Thu Mar 27 21:36:26 PDT 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20080327/2056f12f/attachment.pgp
More information about the Xcb
mailing list