Sat, 02 Nov 2002 03:41:23 +0000
[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: Luke Schierer <lschiere@pidgin.im>
| src/buddy.c | file | annotate | diff | comparison | revisions |
--- 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();