only move windows to center when they're offscreen

SVN revision: 78851
This commit is contained in:
Mike Blumenkrantz 2012-11-02 11:17:33 +00:00
parent b355a53324
commit d23548d79e
1 changed files with 1 additions and 1 deletions

View File

@ -3494,7 +3494,7 @@ e_border_idler_before(void)
bd->changes.visible = 0;
}
if (bd->zone)
if (bd->zone && (!E_INSIDE(bd->x, bd->y, 0, 0, bd->zone->w, bd->zone->h)) && ((!E_INSIDE(bd->w, bd->h, 0, 0, bd->zone->w, bd->zone->h))))
{
if (e_config->screen_limits != E_SCREEN_LIMITS_COMPLETELY)
_e_border_move_lost_window_to_center(bd);