Don't flip desks if the zone no longer is current.

SVN revision: 24533
This commit is contained in:
sebastid 2006-08-10 14:36:59 +00:00 committed by sebastid
parent 2efd79bd50
commit d899722d58
2 changed files with 5 additions and 2 deletions

View File

@ -5,8 +5,6 @@
/* FIXME: broken when drop areas intersect
* (sub window has drop area on top of lower window or desktop)
*
* When moving from one zone to another, the flip timer in the previous zone must be reset.
*/
/*
* TODO:

View File

@ -951,6 +951,11 @@ _e_zone_cb_timer(void *data)
if (!ev) return 0;
zone = data;
if (zone != e_zone_current_get(zone->container))
{
zone->flip.timer = NULL;
return 0;
}
ecore_x_pointer_xy_get(zone->container->win, &x, &y);
ev->prev.x = x;