From: <sa...@us...> - 2006-06-30 03:57:36
|
Revision: 16376 Author: sadrul Date: 2006-06-29 20:57:22 -0700 (Thu, 29 Jun 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16376&view=rev Log Message: ----------- I may have done it (window-redrawing thing) right this time. Modified Paths: -------------- trunk/console/libgnt/gntmain.c Modified: trunk/console/libgnt/gntmain.c =================================================================== --- trunk/console/libgnt/gntmain.c 2006-06-29 21:02:54 UTC (rev 16375) +++ trunk/console/libgnt/gntmain.c 2006-06-30 03:57:22 UTC (rev 16376) @@ -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); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |