From 07608e742eecea89d7f0fb1dcf97c4fa679927a8 Mon Sep 17 00:00:00 2001 From: ddouthitt Date: Fri, 28 Sep 2001 21:23:16 +0000 Subject: [PATCH] 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. --- server/drivers/curses_drv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/drivers/curses_drv.c b/server/drivers/curses_drv.c index 546beb4..753f999 100644 --- a/server/drivers/curses_drv.c +++ b/server/drivers/curses_drv.c @@ -271,14 +271,15 @@ curses_drv_wborder (WINDOW *win) { if (has_colors()) { 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); if (has_colors()) { 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); } }