# HG changeset patch # User Luke Schierer # Date 1036208483 0 # Node ID 9f1893ad06e8684cb24a032ba524c66446a73a72 # Parent b5d7232c3e76613918224f0dc51337f50a1bab73 [gaim-migrate @ 4011] (22:38:45) faceprint: enlightenment actually moves windows around when you have virtual desktops (22:39:33) faceprint: when i move one screen to the right, gaim is now positioned at -(gaim buddy list width + window decoration width) this stops such stupidity from moving gaim off-screen committer: Tailor Script diff -r b5d7232c3e76 -r 9f1893ad06e8 src/buddy.c --- a/src/buddy.c Sat Nov 02 03:06:20 2002 +0000 +++ b/src/buddy.c Sat Nov 02 03:41:23 2002 +0000 @@ -2467,8 +2467,8 @@ event->y != blist_pos.y || event->width != blist_pos.width || event->height != blist_pos.height) { - blist_pos.x = event->x; - blist_pos.y = event->y; + blist_pos.x = event->x > 0 ? event->x : 0; + blist_pos.y = event->y > 0 ? event->y : 0; blist_pos.width = event->width; blist_pos.height = event->height; save_prefs();