Mercurial > pidgin
changeset 3859:9f1893ad06e8
[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 <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 02 Nov 2002 03:41:23 +0000 |
parents | b5d7232c3e76 |
children | d0897828bd0d |
files | src/buddy.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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();