Good day list!

I've been searching for this for a while but, so far, it's still unclear
to me : Is there a width and height limit for pixmaps? Widht / height
type is int but I'm wondering what's the maximum supported values.

I'm using GTK and I know GDK pixmaps and windows can't be wider than
65535. But I got a crash in a GTK app when trying to create a "big"
pixmap, less wide than 65535 but wider than 32767:

The program 'my_app' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.

So my question is: Is it an 'out of memory' error (returned by malloc)
or a width value above a defined limit?

Mainly, I'd like to know if this is documented somewhere.

I can provide an example programme that reproduces the issue.

Thanks in advance for any hints.

-- 
Emmanuel Thomas-Maurin <manutm...@gmail.com>
_______________________________________________
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to