summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-02-07 13:43:06 +0000
committerTom Hacohen <tom@stosb.com>2014-02-07 14:21:26 +0000
commitc061e7692793740cc363478586e4e062a6b2d7a4 (patch)
tree42591611691f81c3648a98bdecdbe1156b2b0271
parent0541d1ebe690a1ac999a523141a078de02ae2b8f (diff)
Edje entry: always finish selection when mouse is up.
Even when the event is held. This actually needs some better fixing.
-rw-r--r--src/lib/edje/edje_entry.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index a054e1bc0c..01c64c7bb2 100644
--- a/src/lib/edje/edje_entry.c
+++ b/src/lib/edje/edje_entry.c
@@ -2167,11 +2167,9 @@ _edje_part_mouse_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
2167 (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_SELECTABLE)) 2167 (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_SELECTABLE))
2168 return; 2168 return;
2169 2169
2170 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) 2170
2171 { 2171 /* We don't check for ON_HOLD because we'd like to end selection anyway when
2172 _edje_entry_imf_cursor_info_set(en); 2172 * mouse is up, even if it's held. */
2173 return;
2174 }
2175 2173
2176#ifdef HAVE_ECORE_IMF 2174#ifdef HAVE_ECORE_IMF
2177 if (en->imf_context) 2175 if (en->imf_context)