# HG changeset patch # User Sadrul Habib Chowdhury # Date 1165547032 0 # Node ID 2409a2508650ae3b2f6dc85e979cbacd802c7b56 # Parent af9fde10e4e25ca7ae0091626e61a3ad0f6d9799 [gaim-migrate @ 17923] Make the cursor invisible again after a refresh. Make the last window in the taskbar take up all the available space. committer: Tailor Script diff -r af9fde10e4e2 -r 2409a2508650 console/libgnt/gntwm.c --- a/console/libgnt/gntwm.c Fri Dec 08 02:57:50 2006 +0000 +++ b/console/libgnt/gntwm.c Fri Dec 08 03:03:52 2006 +0000 @@ -100,7 +100,10 @@ color = GNT_COLOR_NORMAL; } wbkgdset(taskbar, '\0' | COLOR_PAIR(color)); - mvwhline(taskbar, 0, width * i, ' ' | COLOR_PAIR(color), width); + if (iter->next) + mvwhline(taskbar, 0, width * i, ' ' | COLOR_PAIR(color), width); + else + mvwhline(taskbar, 0, width * i, ' ' | COLOR_PAIR(color), getmaxx(stdscr) - width * i); title = GNT_BOX(w)->title; mvwprintw(taskbar, 0, width * i, "%s", title ? title : ""); if (i) @@ -744,6 +747,7 @@ endwin(); refresh(); + curs_set(0); /* endwin resets the cursor to normal */ g_hash_table_foreach(wm->nodes, (GHFunc)refresh_node, NULL); update_screen(wm);