Mercurial > pidgin.yaz
changeset 15138:2409a2508650
[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 <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 08 Dec 2006 03:03:52 +0000 |
parents | af9fde10e4e2 |
children | e952a5fc97b3 |
files | console/libgnt/gntwm.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 : "<gnt>"); 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);