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>
This commit is contained in:
committed by
Lukas Fleischer
parent
a5cc46cd55
commit
bb7381765c
@@ -786,7 +786,7 @@ void notify_config_bar(void)
|
||||
config_option_height, print_config_option);
|
||||
listbox_load_items(&lb, 8);
|
||||
listbox_draw_deco(&lb, 0);
|
||||
listbox_display(&lb);
|
||||
listbox_display(&lb, NOHILT);
|
||||
wins_set_bindings(bindings, ARRAY_SIZE(bindings));
|
||||
wins_status_bar();
|
||||
wnoutrefresh(win[STA].p);
|
||||
@@ -824,7 +824,7 @@ void notify_config_bar(void)
|
||||
clearok(curscr, TRUE);
|
||||
}
|
||||
|
||||
listbox_display(&lb);
|
||||
listbox_display(&lb, NOHILT);
|
||||
wins_status_bar();
|
||||
wnoutrefresh(win[STA].p);
|
||||
wmove(win[STA].p, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user