Tried to reduce amount of work necessary to flip the backlight - since
under VNC, this occurs rather slowly. Less work is done, but the result has not changed.
This commit is contained in:
@@ -271,14 +271,15 @@ curses_drv_wborder (WINDOW *win) {
|
|||||||
|
|
||||||
if (has_colors()) {
|
if (has_colors()) {
|
||||||
wcolor_set(win, current_border_pair, NULL);
|
wcolor_set(win, current_border_pair, NULL);
|
||||||
wattron(win, COLOR_PAIR(current_border_pair) | A_BOLD);
|
//wattron(win, COLOR_PAIR(current_border_pair) | A_BOLD);
|
||||||
|
wattron(win, A_BOLD);
|
||||||
}
|
}
|
||||||
|
|
||||||
box(win, 0, 0);
|
box(win, 0, 0);
|
||||||
|
|
||||||
if (has_colors()) {
|
if (has_colors()) {
|
||||||
wcolor_set(win, current_color_pair, NULL);
|
wcolor_set(win, current_color_pair, NULL);
|
||||||
wattron(win, COLOR_PAIR(current_color_pair));
|
//wattron(win, COLOR_PAIR(current_color_pair));
|
||||||
wattroff(win, A_BOLD);
|
wattroff(win, A_BOLD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user