aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-02-20 10:55:12 +0000
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-02-22 13:18:30 +0000
commit536254e2ce13189bf241574d5fb123e155ff3e7e (patch)
treeced04766293cb4594f2ea14c3a87940c7f5516e9
parent56fdcf1faa01a87ef4b65edd870afdbcfa44b7aa (diff)
downloadenlightenment-536254e2ce13189bf241574d5fb123e155ff3e7e.tar.gz
enlightenment-536254e2ce13189bf241574d5fb123e155ff3e7e.tar.xz
enlightenment-536254e2ce13189bf241574d5fb123e155ff3e7e.zip
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
-rw-r--r--src/bin/e_gadcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c
index 8a3ee1487..90fec35c3 100644
--- a/src/bin/e_gadcon.c
+++ b/src/bin/e_gadcon.c
@@ -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;