WISH: kick out xpm.C, replace by pixbuf
DUMB: support tex fonts
-TODO: outline cursor color broken? http://bereft.net/rxvt-cursor2.png http://bereft.net/rxvt-cursor1.png
TODO: add ctype locale info to some menu to aid the "support"
TODO: (exg) rxvt -fn -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1 U+39b+U+30a wipes out 39b
8.0
- fix a crash caused by passing negative widths to overlay functions.
- added 'matcher' extension by tpope, replacing the mark-urls extension.
- improve url regex to match anything www.* (tpope).
+ - fixed bug with outline cursor color being wrong after xft fonts.
+ - update to libptytty-1.0.
- give proper diagnostic when RXVT_SOCKET is too long instead of
corrupting the stack (patch by exg).
- urxvtd no longer crashes when the client sends an inaccessible
- fixed many minor issues reported by Roland Baer.
- Leonid Khramov spotted a minor glitch in rxvtfont.C that
should not have any consequences, but was buggy nonetheless.
- - update to libptytty-1.0.
+ - manpage fix by exg.
7.9 Mon Aug 7 18:16:07 CEST 2006
- fix the crashing bug people encountered with 7.8 + urxvtd + perl
rend_t cc1; /* store colours at cursor position (s) */
#endif
rend_t *crp; // cursor rendition pointer
+ rend_t ccol1, /* Cursor colour */
+ ccol2; /* Cursor colour2 */
want_refresh = 0; /* screen is current */
*/
{
unsigned char setoldcursor;
- rend_t ccol1, /* Cursor colour */
- ccol2; /* Cursor colour2 */
showcursor = (screen.flags & Screen_VisibleCursor);
#ifdef CURSOR_BLINK
crp = &ROW(screen.cur.row).r[col];
- if (showcursor && focus)
- {
- if (OPTION (Opt_cursorUnderline))
- *crp ^= RS_Uline;
- else
- {
- *crp ^= RS_RVid;
-
#ifndef NO_CURSORCOLOR
- cc1 = *crp & (RS_fgMask | RS_bgMask);
- if (ISSET_PIXCOLOR (Color_cursor))
- ccol1 = Color_cursor;
- else
+ cc1 = *crp & (RS_fgMask | RS_bgMask);
+ if (ISSET_PIXCOLOR (Color_cursor))
+ ccol1 = Color_cursor;
+ else
+#endif
#ifdef CURSOR_COLOR_IS_RENDITION_COLOR
- ccol1 = fgcolor_of (rstyle);
+ ccol1 = fgcolor_of (rstyle);
#else
- ccol1 = Color_fg;
+ ccol1 = Color_fg;
+#endif
+
+#ifndef NO_CURSORCOLOR
+ if (ISSET_PIXCOLOR (Color_cursor2))
+ ccol2 = Color_cursor2;
+ else
#endif
- if (ISSET_PIXCOLOR (Color_cursor2))
- ccol2 = Color_cursor2;
- else
#ifdef CURSOR_COLOR_IS_RENDITION_COLOR
- ccol2 = bgcolor_of (rstyle);
+ ccol2 = bgcolor_of (rstyle);
#else
- ccol2 = Color_bg;
+ ccol2 = Color_bg;
#endif
+
+ if (showcursor && focus)
+ {
+ if (OPTION (Opt_cursorUnderline))
+ *crp ^= RS_Uline;
+ else
+ {
+ *crp ^= RS_RVid;
*crp = SET_FGCOLOR (*crp, ccol1);
*crp = SET_BGCOLOR (*crp, ccol2);
-#endif
}
}
}
#ifndef NO_CURSORCOLOR
if (ISSET_PIXCOLOR (Color_cursor))
XSetForeground (dpy, gc, pix_colors[Color_cursor]);
+ else
#endif
+ XSetForeground (dpy, gc, pix_colors[ccol1]);
XDrawRectangle (dpy, drawBuffer, gc,
Col2Pixel (col),