*** empty log message ***
authorroot <root>
Sat, 11 Mar 2006 00:12:37 +0000 (00:12 +0000)
committerroot <root>
Sat, 11 Mar 2006 00:12:37 +0000 (00:12 +0000)
src/feature.h
src/rxvtfont.C

index 5acf446ff0724295f5c0111bc8d0009e1d208432..bc1ff5cd918cd91e0b87684133f92b8993cfca13 100644 (file)
@@ -62,8 +62,8 @@
 
 /*
  * Forcefully disable double-buffering for xft. On some card/driver combination
- * this slightly decreases performance, on most it greatly helps it.
- * The slowdown is small, so it should normally be enabled.
+ * enabling it slightly decreases performance, on most it greatly helps it.
+ * The slowdown is small, so it should normally be enabled.
  */
 /* #define FORCE_UNBUFFERED_XFT */
 
index 28c17100dcd85e2e47bf96a6b58629805d5d55d0..bbcada18f7154afa49acf54d26c9111bbc136f4c 100644 (file)
@@ -1276,14 +1276,14 @@ rxvt_font_xft::draw (rxvt_drawable &d, int x, int y,
   int w = term->fwidth * len;
   int h = term->fheight;
 
-  bool buffered = 0
+  bool buffered = bg >= 0                         // we don't use a transparent bg
 #ifndef FORCE_UNBUFFERED_XFT
 # if defined(XPM_BACKGROUND) || defined(TRANSPARENT)
                   || !term->am_transparent        // we aren't transparent
                   || term->am_pixmap_trans        // we have a pixmap
 # endif
-                  || bg >= 0;                     // we don't use a transparent bg
 #endif
+                  ;
 
   // cut trailing spaces
   while (len && text [len - 1] == ' ')