diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-09-29 12:44:11 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-06 12:37:05 +0200 |
commit | 70a488a64ed2c6def092c3242c99fd41bb2efcdd (patch) | |
tree | 9a03ed1348c53805845de5c0409f837ea1788190 /src/apoint.c | |
parent | 146877a7daa0c0ce4794c8d33c647622fb1935e1 (diff) | |
download | calcurse-70a488a64ed2c6def092c3242c99fd41bb2efcdd.zip |
Remove temporary highlight pointers
Add an additional check to apoint_update_panel() and todo_update_panel()
and only highlight currently selected items if the corresponding panel
is active. This allows us to remove all the highlight pointer juggling
that we used whenever the panel selection changed.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/apoint.c')
-rw-r--r-- | src/apoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apoint.c b/src/apoint.c index a49b156..f99b94d 100644 --- a/src/apoint.c +++ b/src/apoint.c @@ -684,7 +684,7 @@ apoint_update_panel (int which_pan) if (slctd_date.dd < 10) title_xpos++; date = date2sec (slctd_date, 0, 0); - day_write_pad (date, app_width, app_length, hilt); + day_write_pad (date, app_width, app_length, (which_pan == APP) ? hilt : 0); /* Print current date in the top right window corner. */ erase_window_part (win[APP].p, 1, title_lines, win[APP].w - 2, |