Don't flip desks if the zone no longer is current.
SVN revision: 24533
This commit is contained in:
parent
2efd79bd50
commit
d899722d58
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue