In response to "\33]11;?\7", rxvt-unicode would write its background
colour in the "rgba:" form, but with the alpha channel before the rgba
values instead of afterwards. This patch puts the alpha channel last,
so that echoing and reading the same colour specification does not
change the color.
---

--- src/command.C.orig  2014-12-13 13:22:09.000000000 +0100
+++ src/command.C       2015-07-17 21:54:59.158677985 +0200
@@ -3338,7 +3338,7 @@ rxvt_term::process_color_seq (int report
 
 #if XFT
       if (c.a != rgba::MAX_CC)
-        tt_printf ("\033]%d;rgba:%04x/%04x/%04x/%04x%c", report, c.a, c.r, 
c.g, c.b, resp);
+        tt_printf ("\033]%d;rgba:%04x/%04x/%04x/%04x%c", report, c.r, c.g, 
c.b, c.a, resp);
       else
 #endif
         tt_printf ("\033]%d;rgb:%04x/%04x/%04x%c", report, c.r, c.g, c.b, 
resp);

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to