Hi,
I tried it on 7 different Linux desktop systems and it always returns
the deth at which the display is running so why should it be different
when running on the 770?
There appears to be a bug in the Xserver so that it's claiming to
support all visuals. Which is of course wrong, it only supports 16-bits.
However visuals affect only windows, for pixmaps virtually any depth is
valid an for example 32-bit pixmaps can be (and are) used with RGBA data
for compositing alpha blended images.
But atleast if one asks colormap from a drawable and then rendrers
a pixbuf from pixmap with the colormap in question it works like charm.
Have a look at desktop sources for this. There backround picture
is set this way.
Sorry for the confusion. Couldn't (actually still can't) quite see the
actual problem. Using pixmaps of any depth should be fine, assuming you
know what you're doing, so the problem is somewhere else?
True that backround picture is a different case since it is the
backround of an X window. So if one fails to use right colormap
for backround, setting it from 32 bit image fails.
Could it be that you have similar case in your code?
Sampo Nurmentaus
Project Manager
Movial Oy
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers