[Xcb] Xcb errors

Matthew Allen fret at memecode.com
Thu Dec 11 18:59:04 PST 2008

---------- Original Message ----------
To: XCB List (xcb at lists.freedesktop.org)
From: Ian Osgood (iano at quirkster.com)
Subject: Re: [Xcb] Xcb errors
Date: 12/12/2008 12:47:37p

> > I'm getting the error '2' back from a xcb_create_window_checked  
> > call. Where I give the screen's root as the parent, and I've set  
> They are listed in the X Protocol reference. There are various forms  

Got one from x.org... thanks.

> The error codes are also listed in XCB's generated xproto.h  
> (unqualified, unfortunately, because the docs also don't qualify them).
> /** Opcode for xcb_value. */
> #define XCB_VALUE 2

According to the doc the only way to get the "VALUE" error is to pass an invalid width/height (<1) and sure enough, the values I was passing weren't what I thought they were. Thanks for your help.
Matthew Allen

More information about the Xcb mailing list