Hi,
would someone please comment on that patch? this is a nearly unchanged version of my previous attempt - but this time against current git.
Not so sure about it. I am afraid I do not completely understand the color depth issue, but it appears to me that a patch like that rather hides the problem than fixing it.
It is not possible to chance the depth on the fly on X11, so we may want a solution for all color depths.