[PATCH] Reorder visuals reported by the intel driver

Tomas Carnecky tom at dbservice.com
Sun Jun 15 05:27:16 PDT 2008

The root window visual can not be changed. Neither at runtime nor 
through the configuration file. The xserver simply selects the first one 
that matches the class (usually TrueColor). I need a root window visual 
with stencil buffer because my compiz plugin uses the it for some 
operations. This patch reorders the visuals that the 3D driver reports 
and puts the one with stencil (and depth) bits as first.
  src/i830_dri.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f48d9d70a6946d598370408290b45593ead63b86.diff
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080615/79ff4eed/attachment.bin>

More information about the xorg mailing list