# HG changeset patch # User Luke Schierer # Date 1040917066 0 # Node ID 168273c1cc7766b5288764babe9e985cccd22dd0 # Parent 7f5a18b2b9ac856d55f2853f4801a498151cc8d4 [gaim-migrate @ 4362] i agree with faceprint, gaim should never set itself to a negative screen possition committer: Tailor Script diff -r 7f5a18b2b9ac -r 168273c1cc77 src/buddy.c --- 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();