From 4210fdd38a511f1ea2529eea2dfd5d55ab144e37 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 15 May 2014 10:29:22 +0200 Subject: Add support for drawing highlighted decoration This allows for drawing selected scroll windows and list boxes with a highlighted border. Signed-off-by: Lukas Fleischer --- src/notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/notify.c') diff --git a/src/notify.c b/src/notify.c index c833cd9..1adaded 100644 --- a/src/notify.c +++ b/src/notify.c @@ -763,7 +763,7 @@ void notify_config_bar(void) clear(); listbox_init(&lb, 0, 0, notify_bar() ? row - 3 : row - 2, col, _("notification options"), config_option_height, print_config_option); listbox_load_items(&lb, 8); - listbox_draw_deco(&lb); + listbox_draw_deco(&lb, 0); status_mesg("", ""); listbox_display(&lb); @@ -785,7 +785,7 @@ void notify_config_bar(void) wins_get_config(); wins_reset_noupdate(); listbox_resize(&lb, 0, 0, notify_bar() ? row - 3 : row - 2, col); - listbox_draw_deco(&lb); + listbox_draw_deco(&lb, 0); delwin(win[STA].p); win[STA].p = newwin(win[STA].h, win[STA].w, win[STA].y, -- cgit v1.2.3-54-g00ecf