diff options
author | June McEnroe | 2022-07-31 16:28:08 -0400 |
---|---|---|
committer | June McEnroe | 2022-07-31 18:17:08 -0400 |
commit | 93e841b29ea567f8ddc31ce7f104dce5396a71ba (patch) | |
tree | 9d844670e8e88af199410f66c7c2e90a91233bcb /window.c | |
parent | be6052e9a933b4b792f65f50ea009bb68a3f5e93 (diff) |
Move cache color to an Entry struct
So that more values can be added sensibly.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |