9scripts/patches/winwatch.patch

22 lines
957 B
Diff

diff -r b31369df5d7d sys/src/cmd/winwatch.c
--- a/sys/src/cmd/winwatch.c Sun Apr 18 16:20:04 2021 +0200
+++ b/sys/src/cmd/winwatch.c Sun Apr 18 15:55:06 2021 -0700
@@ -339,12 +339,12 @@
if(initdraw(0, fontname, "winwatch") < 0)
sysfatal("initdraw: %r");
- lightblue = allocimagemix(display, DPalebluegreen, DWhite);
+ lightblue = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xe8e7e6FF);
- statecol[0] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xCCCCCCFF);
- statecol[1] = lightblue;
- statecol[2] = lightblue;
- statecol[3] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DPalegreygreen);
+ statecol[0] = lightblue;
+ statecol[1] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xbbb4a9FF);
+ statecol[2] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xe8e7e6FF);
+ statecol[3] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xa79375FF);
for(i=0; i<nelem(statecol); i++)
if(statecol[i] == nil)