# HG changeset patch # User Sadrul Habib Chowdhury # Date 1179901381 0 # Node ID 8d3c28521112dda48a847341c913203e5bbb0479 # Parent ffd85797ecab09d7f55a888dae7ac8d28f7fdc55 I think this fixes #532. diff -r ffd85797ecab -r 8d3c28521112 finch/libgnt/gntmain.c --- a/finch/libgnt/gntmain.c Wed May 23 03:09:25 2007 +0000 +++ b/finch/libgnt/gntmain.c Wed May 23 06:23:01 2007 +0000 @@ -359,8 +359,7 @@ switch (sig) { #ifdef SIGWINCH case SIGWINCH: - werase(stdscr); - wrefresh(stdscr); + erase(); g_idle_add(refresh_screen, NULL); org_winch_handler(sig); signal(SIGWINCH, sighandler); diff -r ffd85797ecab -r 8d3c28521112 finch/libgnt/gntwm.c --- a/finch/libgnt/gntwm.c Wed May 23 03:09:25 2007 +0000 +++ b/finch/libgnt/gntwm.c Wed May 23 06:23:01 2007 +0000 @@ -980,12 +980,11 @@ GntWM *wm = GNT_WM(bindable); endwin(); - refresh(); - curs_set(0); /* endwin resets the cursor to normal */ g_hash_table_foreach(wm->nodes, (GHFunc)refresh_node, NULL); update_screen(wm); draw_taskbar(wm, TRUE); + curs_set(0); /* endwin resets the cursor to normal */ return FALSE; }