aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui-day.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2017-12-17 08:25:10 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2018-05-26 11:31:43 +0200
commitbb7381765c435ac37e133f7fcc14a07823539050 (patch)
treef0902c3c714dca97607000e464b52df37aa44e01 /src/ui-day.c
parenta5cc46cd550b335b0de6ce7658e0c1ca5068255e (diff)
downloadcalcurse-bb7381765c435ac37e133f7fcc14a07823539050.tar.gz
calcurse-bb7381765c435ac37e133f7fcc14a07823539050.zip
Scrollbar and right window border (corrected)
When a scrollbar is on display in APP or TOD windows, the right vertical border (outside the scrollbar) is not highlighted when the window is selected. The scrollbar is always highlighted: - when APP or TOD is deselected - in configuration windows where borders otherwise are not The patch moves the scrollbar parameters (except highlight) from arguments of draw_scrollbar() to the function itself. The highlight argument was 1; instead it is set higher in the call hierarchy (wins_update_panels()) and passed on down. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/ui-day.c')
-rw-r--r--src/ui-day.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui-day.c b/src/ui-day.c
index 9c858f1..53cb2f1 100644
--- a/src/ui-day.c
+++ b/src/ui-day.c
@@ -967,9 +967,9 @@ int ui_day_height(int n, void *cb_data)
}
/* Updates the Appointment panel */
-void ui_day_update_panel(int which_pan)
+void ui_day_update_panel(int hilt)
{
- listbox_display(&lb_apt);
+ listbox_display(&lb_apt, hilt);
}
void ui_day_popup_item(void)