/*
* 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 */
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] == ' ')