+2013-02-17 Mike Blumenkrantz
+
+ * fix anchor clicked mouse signals for selection-enabled entries
+
2013-02-16 Paulo C. A. Cavalcanti Jr
* Evas: add pixels_alpha_get to evas engine.
* fix bug not to display preedit string with PREEDIT_TYPE_NONE style
* Fix bug candidate word couldn't be selected with up/down key in the preedit status
* Edje textblock: Improved textblock fit.
+ * fix anchor clicked mouse signals for selection-enabled entries
(!rp->typedata.text)) return;
en = rp->typedata.text->entry_data;
ignored = rp->part->ignore_flags & ev->event_flags;
- if ((rp->part->select_mode == EDJE_ENTRY_SELECTION_MODE_EXPLICIT) &&
- (en->select_allow))
- return;
n = an->name;
if (!n) n = "";
len = 200 + strlen(n);
buf = alloca(len);
- if ((!ev->event_flags) || (!ignored))
+ if ((rp->part->select_mode != EDJE_ENTRY_SELECTION_MODE_EXPLICIT) ||
+ (!en->select_allow))
{
- snprintf(buf, len, "anchor,mouse,up,%i,%s", ev->button, n);
- _edje_emit(rp->edje, buf, rp->part->name);
+ if ((!ev->event_flags) || (!ignored))
+ {
+ snprintf(buf, len, "anchor,mouse,up,%i,%s", ev->button, n);
+ _edje_emit(rp->edje, buf, rp->part->name);
+ }
}
if ((rp->still_in) && (rp->clicked_button == ev->button) && (!ignored))
{