From: mcbinc@world.std.com (Monty C. Brandenberg)
Subject: Re: Default Visual
Date: 1997/06/06 [thread overview]
Message-ID: <EBC8Hn.KCI@world.std.com> (raw)
In-Reply-To: 3392950B.81C@gecm.com
In <3392950B.81C@gecm.com> Andrew Gillies wrote:
> How do I change the default visual when starting the X server ?
> The default is Truecolor 24 Bit but I would like to use another of the
> supported visuals, but get a BadMatch error in XCreateWindow when I try
> this - there seems to be some dubiety about using other visuals when the
> default is Truecolor 24 bit ??!
> (DEC Alpha 266, Digital Unix 4.0b, OSF 1.0.1)
> Thanks in advance .....
>
If a correct restatement of the real problem is: how to create a window
using a visual other than the default for the screen then this is
a simple X programming error.
The window attributes for the window must be correct at the time
of creation or an error, often BadMatch, occurs. The typical attributes
when this occurs are: BackgroundPixel, BorderPixel, and Colormap.
m
--
Monty Brandenberg Software Consultant
MCB, Inc.
mcbinc@world.std.com
617.864.6907
prev parent reply other threads:[~1997-06-06 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-02 4:00 Default Visual Andrew Gillies
1997-06-06 4:00 ` Monty C. Brandenberg [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox