Mercurial > pidgin
diff src/buddy.c @ 4144:168273c1cc77
[gaim-migrate @ 4362]
i agree with faceprint, gaim should never set itself to a negative screen possition
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Thu, 26 Dec 2002 15:37:46 +0000 |
| parents | 6ba49fc29d67 |
| children | 3468d666d3cc |
line wrap: on
line diff
--- a/src/buddy.c Thu Dec 26 00:32:55 2002 +0000 +++ b/src/buddy.c Thu Dec 26 15:37:46 2002 +0000 @@ -2484,8 +2484,8 @@ y != blist_pos.y || event->width != blist_pos.width || event->height != blist_pos.height) { - blist_pos.x = x; - blist_pos.y = y; + blist_pos.x = x > 0 ? x : 0; + blist_pos.y = y > 0 ? y : 0; blist_pos.width = event->width; blist_pos.height = event->height; save_prefs();
