changeset 4402:4e5446a7131f

[gaim-migrate @ 4671] This is from Mr. McQueen. I believe it lets you put your buddy list at 0,0. I don't feel comfortable commiting the gtk2 away message patch... So I'll let someone else do it. NCSU beat Duke! Duke sucks! State rulz! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 23 Jan 2003 05:39:03 +0000
parents 3f09e83b569a
children 5a7fda352a8d
files src/buddy.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Thu Jan 23 01:01:54 2003 +0000
+++ b/src/buddy.c	Thu Jan 23 05:39:03 2003 +0000
@@ -1827,13 +1827,13 @@
 			/* don't move it off screen */
 			if (blist_pos.x >= gdk_screen_width()) {
 				blist_pos.x = gdk_screen_width() - 100;
-			} else if (blist_pos.x <= 0) {
+			} else if (blist_pos.x < 0) {
 				blist_pos.x = 100;
 			}
 
 			if (blist_pos.y >= gdk_screen_height()) {
 				blist_pos.y = gdk_screen_height() - 100;
-			} else if (blist_pos.y <= 0) {
+			} else if (blist_pos.y < 0) {
 				blist_pos.y = 100;
 			}