rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=3a4ee3eb1165cf22af89d86566f9d2ddff4a259b
commit 3a4ee3eb1165cf22af89d86566f9d2ddff4a259b Author: Vitalii Vorobiov <vi.vorob...@samsung.com> Date: Tue Jan 26 13:20:26 2016 +0000 highlight: drag corners only with left mouse button --- src/bin/ui/workspace/highlight.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/bin/ui/workspace/highlight.c b/src/bin/ui/workspace/highlight.c index 93f544a..d7dec63 100644 --- a/src/bin/ui/workspace/highlight.c +++ b/src/bin/ui/workspace/highlight.c @@ -215,10 +215,13 @@ static void _handler_down_cb(void *data, Evas *evas, Evas_Object *obj __UNUSED__, - void *event_info __UNUSED__) + void *event_info) { Handler *handler = (Handler *)data; + Evas_Event_Mouse_Down *event = (Evas_Event_Mouse_Down *) event_info; + if (event->button != 1) return; + assert(handler != NULL); Highlight *highlight = handler->highlight; @@ -412,10 +415,13 @@ static void _handler_up_cb(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, - void *event_info __UNUSED__) + void *event_info) { Handler *handler = (Handler *)data; + Evas_Event_Mouse_Down *event = (Evas_Event_Mouse_Down *) event_info; + if (event->button != 1) return; + assert(handler != NULL); _handler_size_recalc(handler->highlight); --