diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-09 00:38:51 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-07-09 00:38:51 +0200 |
commit | e33f53aad500d615883a1acc33f3f956eb90506b (patch) | |
tree | 9055719664f121b2219dfb0a3c21c891a14f9794 /src/ui-todo.c | |
parent | cac973fee3d828fac641f6de771054a32cfbbfe3 (diff) | |
download | calcurse-e33f53aad500d615883a1acc33f3f956eb90506b.zip |
Do not highlight items on inactive windows
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/ui-todo.c')
-rw-r--r-- | src/ui-todo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui-todo.c b/src/ui-todo.c index 49cf371..900bbfe 100644 --- a/src/ui-todo.c +++ b/src/ui-todo.c @@ -153,6 +153,8 @@ void ui_todo_draw(int n, WINDOW *win, int y, int hilt, void *cb_data) mark[0] = todo->id > 0 ? '0' + todo->id : 'X'; mark[1] = todo->note ? '>' : '.'; + hilt = hilt && (wins_slctd() == TOD); + if (hilt) custom_apply_attr(win, ATTR_HIGHEST); |