From 93e841b29ea567f8ddc31ce7f104dce5396a71ba Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 31 Jul 2022 16:28:08 -0400 Subject: Move cache color to an Entry struct So that more values can be added sensibly. --- window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'window.c') diff --git a/window.c b/window.c index 72a3571..0c675e9 100644 --- a/window.c +++ b/window.c @@ -118,7 +118,7 @@ uint windowFor(uint id) { window->thresh = windowThreshold; } window->buffer = bufferAlloc(); - cacheInsertColor(false, None, idNames[id], idColors[id]); + cacheInsert(false, None, idNames[id])->color = idColors[id]; return windowPush(window); } -- cgit 1.4.1