start drag if gadget has been moved the size of the gadget

when a gadget is at the edge of its gadcon, it can't move more than this amount, so we have to start the drag immediately
This commit is contained in:
Mike Blumenkrantz 2013-02-20 10:55:12 +00:00
parent 56fdcf1faa
commit 536254e2ce
1 changed files with 1 additions and 1 deletions

View File

@ -2584,7 +2584,7 @@ _e_gadcon_client_move_go(E_Gadcon_Client *gcc)
if (e_gadcon_layout_orientation_get(gcc->gadcon->o_container))
{
if (cy + e_config->drag_resist < 0 || cy - e_config->drag_resist > gh)
if (cy + e_config->drag_resist < 0 || cy - e_config->drag_resist >= gh)
{
_e_gadcon_client_drag_begin(gcc, cx, cy);
return;