diff options
-rw-r--r-- | src/ui-day.c | 2 | ||||
-rw-r--r-- | src/ui-todo.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ui-day.c b/src/ui-day.c index d6be872..a39b88b 100644 --- a/src/ui-day.c +++ b/src/ui-day.c @@ -842,6 +842,8 @@ void ui_day_draw(int n, WINDOW *win, int y, int hilt, void *cb_data) struct day_item *item = day_get_item(n); int width = lb_apt.sw.w; + hilt = hilt && (wins_slctd() == APP); + if (item->type == EVNT || item->type == RECUR_EVNT) { day_display_item(item, win, !hilt, width, y, 1); } else if (item->type == APPT || item->type == RECUR_APPT) { 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); |