[arch-commits] CVS update of extra/editors/nedit (nedit_xorg_composite_fix.patch)

Dale Blount dale at archlinux.org
Tue Dec 4 09:52:26 EST 2007


    Date: Tuesday, December 4, 2007 @ 09:52:26
  Author: dale
    Path: /home/cvs-extra/extra/editors/nedit

   Added: nedit_xorg_composite_fix.patch (1.1)

added nedit_xorg_composite_fix.patch


--------------------------------+
 nedit_xorg_composite_fix.patch |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)


Index: extra/editors/nedit/nedit_xorg_composite_fix.patch
diff -u /dev/null extra/editors/nedit/nedit_xorg_composite_fix.patch:1.1
--- /dev/null	Tue Dec  4 09:52:26 2007
+++ extra/editors/nedit/nedit_xorg_composite_fix.patch	Tue Dec  4 09:52:26 2007
@@ -0,0 +1,18 @@
+--- nedit-5.5/util/misc.c.orig	2007-12-03 21:57:15.000000000 +0000
++++ nedit-5.5/util/misc.c	2007-12-03 21:59:30.000000000 +0000
+@@ -475,6 +475,15 @@
+     bestClass = 0;
+     bestVisual = 0;
+     for (i=0; i < nVis; i++) {
++        if (visList[i].depth >= 32 &&          
++           strstr(ServerVendor(display), "X.Org") != 0) {
++               /* Xorg 6.8.* 32-bit visuals (with alpha-channel) cause a lot
++                  of problems, so we have to skip them.
++                  Users can achieve the same effect with older versions of
++                  NEdit by setting the environment variable 
++                  XLIB_SKIP_ARGB_VISUALS. */
++            continue;
++        }
+ 	if (visList[i].depth > maxDepth) {
+ 	    maxDepth = visList[i].depth;
+ 	    bestClass = 0;




More information about the arch-commits mailing list