Operating System - HP-UX
1828238 Members
2539 Online
109975 Solutions
New Discussion

C/X11 dev. question: XCreatePixmap

 
Marcin Piwko
Advisor

C/X11 dev. question: XCreatePixmap

Hi,

I'm trying to fix "rdesktop" (www.rdesktop.org) to work in 16/24/32 bpp modes on HPUX.

Unfortunately the function XCreatePixmap when in it's last parameter (depth) gets more than '8' i crashes with "integer out of range".

Any ideas how to force this function to use >8 bits?

Also XListPixmapFormats returns only 8 for bits_per_pixel.

I supouse I have set something special in X11 under HPUX (visual??).

Thanks!