diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2017-12-17 08:25:10 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2018-05-26 11:31:43 +0200 |
commit | bb7381765c435ac37e133f7fcc14a07823539050 (patch) | |
tree | f0902c3c714dca97607000e464b52df37aa44e01 /src/ui-calendar.c | |
parent | a5cc46cd550b335b0de6ce7658e0c1ca5068255e (diff) | |
download | calcurse-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-calendar.c')
-rw-r--r-- | src/ui-calendar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui-calendar.c b/src/ui-calendar.c index e3d90ef..b6d35b1 100644 --- a/src/ui-calendar.c +++ b/src/ui-calendar.c @@ -580,7 +580,7 @@ void ui_calendar_update_panel(void) ui_calendar_store_current_date(¤t_day); sunday_first = !ui_calendar_week_begins_on_monday(); draw_calendar[ui_calendar_view] (&sw_cal, ¤t_day, sunday_first); - wins_scrollwin_display(&sw_cal); + wins_scrollwin_display(&sw_cal, NOHILT); } /* Set the selected day in calendar to current day. */ |