Why is system visual == DefaultVisual?
- From: Martin Norb{ck <d95mback dtek chalmers se>
- To: gtk-list redhat com
- Cc: Bj|rn Augustsson <d3august dtek chalmers se>
- Subject: Why is system visual == DefaultVisual?
- Date: Sat, 6 Nov 1999 16:51:03 +0100
Hi!
I am using gtk/gnome on a Solaris system here at our school.
Right from the start there has been problems with the visuals of the gtk
applications, because the X-server's root window is configured to use an
8-bit PseudoColor visual (don't ask me why, it's the factory setting).
The problem is that gdk_visual_get_system returns the result of the
DefaultVisual Xlib call, which on my system at least just returns the
visual of the root window. This means all gtk applications get an 8-bit
visual, which is bad because there are not that many of them, and why
use 8 bits, when there are better visuals?
Does anyone know if there is a reason not to use a TrueColor or
DirectColor 24-bit visual if there is one available as the default
visual in gtk?
As things are now, there are a lot of program crashes due to "Bad Match"
in the X-server, which I guess is related to this.
Regards,
Martin
--
[ http://www.dtek.chalmers.se/~d95mback/ ] [ PGP: 0x453504F1 ] [ UIN: 4439498 ]
Opinions expressed above are mine, and not those of my future employees.
PGP signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]