Hello! Here are two patches: - e-pager-move_signals.patch: prevents from sending dragging signals when moving mouse cursor over the same desktop - e-pager-deleted_border_drop_fix.patch: remove a segfault when a border has been closed before the drop actually happened (maybe display a notification to user?)
Cheers! Chidambar 'ilLogict' Zinnoury
Index: trunk/e/src/modules/pager/e_mod_main.c
===================================================================
--- trunk/e/src/modules/pager/e_mod_main.c (revision 36225)
+++ trunk/e/src/modules/pager/e_mod_main.c (working copy)
@@ -2104,6 +2104,7 @@
else if (!strcmp(type, "enlightenment/border"))
{
bd = ev->data;
+ if (e_object_is_del(E_OBJECT(bd))) goto done;
e_layout_coord_virtual_to_canvas(pd->o_layout, bd->x, bd->y, &wx, &wy);
e_layout_coord_virtual_to_canvas(pd->o_layout, bd->x + bd->w, bd->y + bd->h, &wx2, &wy2);
dx = (wx - wx2) / 2;
@@ -2133,6 +2134,7 @@
}
}
+done:
for (l = p->desks; l && p->active_drop_pd; l = l->next)
{
pd = l->data;
Index: trunk/e/src/modules/pager/e_mod_main.c
===================================================================
--- trunk/e/src/modules/pager/e_mod_main.c (revision 36225)
+++ trunk/e/src/modules/pager/e_mod_main.c (working copy)
@@ -1983,6 +1983,7 @@
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);
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)
{
pd2 = l->data;
signature.asc
Description: PGP signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
