# HG changeset patch # User Sadrul Habib Chowdhury # Date 1151639842 0 # Node ID ab671b76fb96612652e2f1b7105ef8ae6b97c4fc # Parent f0cde11b3d0ccede12b8a309f42a9432ff096995 [gaim-migrate @ 16376] I may have done it (window-redrawing thing) right this time. committer: Tailor Script diff -r f0cde11b3d0c -r ab671b76fb96 console/libgnt/gntmain.c --- a/console/libgnt/gntmain.c Thu Jun 29 21:02:54 2006 +0000 +++ b/console/libgnt/gntmain.c Fri Jun 30 03:57:22 2006 +0000 @@ -219,12 +219,12 @@ top = MAX(widget->priv.y, w->priv.y) - w->priv.y; bottom = MIN(widget->priv.y + widget->priv.height, w->priv.y + w->priv.height) - w->priv.y; - + copywin(w->window, win, top, left, - w->priv.y + top, - w->priv.x + left, - w->priv.y + bottom - top - 1, - w->priv.x + right - left - 1, FALSE); + w->priv.y - widget->priv.y + top, + w->priv.x - widget->priv.x + left, + w->priv.y - widget->priv.y + bottom - 1, + w->priv.x - widget->priv.x + right - 1, FALSE); n->above = g_list_remove(n->above, node); } @@ -273,10 +273,10 @@ bottom = MIN(widget->priv.y + widget->priv.height, w->priv.y + w->priv.height) - w->priv.y; copywin(w->window, win, top, left, - w->priv.y + top, - w->priv.x + left, - w->priv.y + bottom - top - 1, - w->priv.x + right - left - 1, FALSE); + w->priv.y - widget->priv.y + top, + w->priv.x - widget->priv.x + left, + w->priv.y - widget->priv.y + bottom - 1, + w->priv.x - widget->priv.x + right - 1, FALSE); } }