Mercurial > pidgin
diff console/libgnt/gntmain.c @ 13893:ab671b76fb96
[gaim-migrate @ 16376]
I may have done it (window-redrawing thing) right this time.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 30 Jun 2006 03:57:22 +0000 |
parents | 9d66969a2e32 |
children | a621329e8c85 |
line wrap: on
line diff
--- 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); } }