From: <sa...@us...> - 2006-12-08 03:04:03
|
Revision: 17923 http://svn.sourceforge.net/gaim/?rev=17923&view=rev Author: sadrul Date: 2006-12-07 19:03:52 -0800 (Thu, 07 Dec 2006) Log Message: ----------- Make the cursor invisible again after a refresh. Make the last window in the taskbar take up all the available space. Modified Paths: -------------- trunk/console/libgnt/gntwm.c Modified: trunk/console/libgnt/gntwm.c =================================================================== --- trunk/console/libgnt/gntwm.c 2006-12-08 02:57:50 UTC (rev 17922) +++ trunk/console/libgnt/gntwm.c 2006-12-08 03:03:52 UTC (rev 17923) @@ -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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |