--- rxvt-unicode/src/screen.C 2010/04/17 23:00:45 1.340 +++ rxvt-unicode/src/screen.C 2010/07/21 09:00:43 1.344 @@ -32,7 +32,8 @@ #include "salloc.C" // HACK, should be a seperate compile! -static inline void fill_text (text_t *start, text_t value, int len) +static inline void +fill_text (text_t *start, text_t value, int len) { while (len--) *start++ = value; @@ -1340,7 +1341,7 @@ // TODO: the code below does not work when view_start != 0 // the workaround is to disable the clear and use a normal refresh // when view_start != 0. mysterious. - if (rstyle & (RS_RVid | RS_Uline)) + if (rstyle & (RS_Blink | RS_RVid | RS_Uline)) ren = (rend_t) ~RS_None; else if (GET_BASEBG (rstyle) == Color_bg) { @@ -2330,6 +2331,7 @@ // if invert is 0 reverse video is set so we use bg color as fg color else if (!invert) fore = back; + back = Color_HC; invert = 0; } @@ -2977,20 +2979,6 @@ } } -void -rxvt_term::clipboard_copy (Time tm) -{ - if (selection.len > 0) - { - free (selection.clip_text); - selection.clip_len = selection.len; - selection.clip_text = (wchar_t *) malloc (sizeof (wchar_t) * selection.clip_len); - memcpy (selection.clip_text, selection.text, - sizeof (wchar_t) * selection.clip_len); - selection_grab (tm, true); - } -} - /* ------------------------------------------------------------------------- */ /* * Copy a selection into the cut buffer