--- rxvt-unicode/src/rxvtimg.C 2012/06/09 11:14:35 1.68 +++ rxvt-unicode/src/rxvtimg.C 2012/06/09 11:15:29 1.69 @@ -358,6 +358,8 @@ Display *dpy = s->display->dpy; Picture dst = XRenderCreatePicture (dpy, pm, format, 0, 0); + // loop should not be needed for brightness, as only -1..1 makes sense + while (r | g | b | a) { unsigned short xr, xg, xb, xa;