XGetImage problem...
Bill Crawford
billcrawford1970 at gmail.com
Fri Mar 24 06:34:13 PST 2006
On Friday 24 March 2006 11:46, Marcus Schäfer wrote:
> I added a call to XGetGeometry and printed the values which
> are really really out of any range... very big negative integers
> so XGetImage is surely right with its BadMatch exception
>
> I asume the data I got from the XGetWindowProperty() call is
> far away from beeing a pixmap but it returend "Success"
How is the property being set?
If it's raw pixmap data, you can't just cast it, you need to call a funtion
to create a pixmap from it - XCreateBitmapFromData().
More information about the xorg
mailing list