* yoram bar haim wrote: > I have fixed gtk-window-decorator.c to work with RGB24 instead of ARGB32, > this > seems to allow gtk-window-decorator to work (with compiz) on my machine. I > hope it will be usable for everybody.... > > Here is the diff > 121,123d120 > < /* Added by yoram Bar-Haim, to use with nvidia-9625beta */ > < #define COLOR_DEPTH 24 > < > 2443,2444c2440 > < /* Modified by Yoram Bar-Haim */ > < visual = gdk_visual_get_best_with_depth (COLOR_DEPTH); > --- > > visual = gdk_visual_get_best_with_depth (32); > 2448,2449c2444 > < /* Modified by Yoram Bar-Haim */ > < pixmap = gdk_pixmap_new (NULL, w, h, COLOR_DEPTH); > --- > > pixmap = gdk_pixmap_new (NULL, w, h, 32); > 5275,5277c5270 > < /* Modified by Yoram Bar-Haim */ > < /* all pixmaps are RGB24 */ > < format = XRenderFindStandardFormat (xdisplay, PictStandardRGB24); > --- > > format = XRenderFindStandardFormat (xdisplay, PictStandardARGB32);
Does it work if instead of applying the above patch you add the following line to the "Screen" section in your xorg.conf? Option "AddARGBGLXVisuals" "True" I believe that's the "correct" way to configure X for running compiz with the new NVIDIA drivers[0]. It works for me anyway. [...] - Thierry [0]: http://www.nvnews.net/vbulletin/showthread.php?t=77030
signature.asc
Description: Digital signature