forked from enlightenment/enlightenment
Check if current desktop is the same as previous one to prevent to prevent signals from being resent.
SVN revision: 36454
This commit is contained in:
parent
3cd8bd2a93
commit
f9ea21e172
|
@ -1981,6 +1981,7 @@ _pager_update_drop_position(Pager *p, Evas_Coord x, Evas_Coord y)
|
||||||
evas_object_geometry_get(p->o_table, &xx, &yy, NULL, NULL);
|
evas_object_geometry_get(p->o_table, &xx, &yy, NULL, NULL);
|
||||||
if (p->inst) e_box_align_pixel_offset_get(p->inst->gcc->o_box, &ox, &oy);
|
if (p->inst) e_box_align_pixel_offset_get(p->inst->gcc->o_box, &ox, &oy);
|
||||||
pd = _pager_desk_at_coord(p, x + xx + ox, y + yy + oy);
|
pd = _pager_desk_at_coord(p, x + xx + ox, y + yy + oy);
|
||||||
|
if (pd == p->active_drop_pd) return;
|
||||||
for (l = p->desks; l; l = l->next)
|
for (l = p->desks; l; l = l->next)
|
||||||
{
|
{
|
||||||
pd2 = l->data;
|
pd2 = l->data;
|
||||||
|
|
Loading…
Reference in New Issue