On Mon, Aug 04, 2008 at 05:30:29PM -0400, Aron Griffis wrote:

> Is there a way to dynamically set the border color that I'm
> missing?

No, the attached patch adds an OSC to change it.

Emanuele
diff --git a/doc/rxvt.7.pod b/doc/rxvt.7.pod
index b850bcf..738fb4e 100644
--- a/doc/rxvt.7.pod
+++ b/doc/rxvt.7.pod
@@ -2013,6 +2013,7 @@ B<octet> can be escaped by prefixing it with SYN (0x16, ^V).
 	B<< C<Ps = 705> >>	Change background pixmap tint colour to B<< C<Pt> >> (Compile transparency).
 	B<< C<Ps = 706> >>	Change colour of bold characters to B<< C<Pt> >>
 	B<< C<Ps = 707> >>	Change colour of underlined characters to B<< C<Pt> >>
+	B<< C<Ps = 708> >>	Change colour of the border to B<< C<Pt> >>
 	B<< C<Ps = 710> >>	Set normal fontset to B<< C<Pt> >>. Same as C<Ps = 50>.
 	B<< C<Ps = 711> >>	Set bold fontset to B<< C<Pt> >>. Similar to C<Ps = 50> (Compile styles).
 	B<< C<Ps = 712> >>	Set italic fontset to B<< C<Pt> >>. Similar to C<Ps = 50> (Compile styles).
diff --git a/src/command.C b/src/command.C
index 49ceaca..d86e80c 100644
--- a/src/command.C
+++ b/src/command.C
@@ -3380,6 +3380,9 @@ rxvt_term::process_xterm_seq (int op, const char *str, char resp)
       case URxvt_Color_IT:
         process_color_seq (op, Color_IT, str, resp);
         break;
+      case URxvt_Color_border:
+        process_color_seq (op, Color_border, str, resp);
+        break;
 #endif
 #if ENABLE_TRANSPARENCY
       case URxvt_Color_tint:
diff --git a/src/rxvt.h b/src/rxvt.h
index d76349b..411fbe9 100644
--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -412,6 +412,7 @@ enum {
   URxvt_Color_tint       = 705,     // change actual tint colour
   URxvt_Color_BD         = 706,     // change actual 'Bold' color
   URxvt_Color_UL         = 707,     // change actual 'Underline' color
+  URxvt_Color_border     = 708,
 
   URxvt_font             = 710,
   URxvt_boldFont         = 711,
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to