Hm, looks like XEmacs doesn't care too much about what visual I want him to use
(at least on my graphic card!):
altmark@pdw7: */altmark (1) $ ~/rs_aix43/xemacs/bin/xemacs -visual
PseudoColor8 -vanilla
Invalid Visual specification in PseudoColor8... ignoring.
altmark@pdw7: */altmark (2) $ ~/rs_aix43/xemacs/bin/xemacs -visual
TrueColor24 -vanilla
Invalid Visual specification in TrueColor24... ignoring.
altmark@pdw7: */altmark (3) $ ~/rs_aix43/xemacs/bin/xemacs -visual
DirectColor24 -vanilla
Invalid Visual specification in DirectColor24... ignoring.
Needless to say that it starts up with the grey icon at each of these tries.
To debugging device-x.c: It decides on TrueColor (visual class 4) with depth 24.
Why? x_try_best_visual returns to its caller after successfully trying for
TrueColor and a depth >= 16 in the very first if-expression. Within
x_try_best_visual_class, the XGetVisualInfo function call assigns a structure to
vi_out[0] which has depth=24 and class=4 (TrueColor) field values and will be
selected as best visual by the following for-loop. So this visual is what
x_try_best_visual_class returns to x_try_best_visual. x_get_visual_depth finds
depth 24.
I don't know if this is exactly what you wanted, but I gladly provide any
further information if necessary.
Markus
---------------------- Forwarded by Markus Alt/Germany/IBM on 02/07/2000 10:27
AM ---------------------------
ALTMARK(a)de.ibm.com on 02/06/2000 01:40:57 PM
Please respond to ALTMARK(a)de.ibm.com
To: Kazuyuki IENAGA <kazz(a)imasy.or.jp>, Jan Vroonhof
<vroonhof(a)math.ethz.ch>,
Valdis.Kletnieks(a)vt.edu
cc: xemacs-beta(a)xemacs.org (bcc: Markus Alt/Germany/IBM)
Subject: Re: XEmacs' desktop icon greyed out - revisited
Will do both (debug device-x.c and also try with 'Emacs.emacsVisual:
PseudoColor8') on Monday back at work - unfortunately I have no AIX box here at
home ...
Valdis, I'm also curious about the new GXT300P (although I must say that I don't
too much hope considering the latest experiences with the other cards). We might
get some boxes with those cards in 2Q2000 and of course this will be the first
thing I'll try on them then! I'll keep you posted.
Markus