If mouse button is 1, we don't need Instance data so check that first.
SVN revision: 43768
This commit is contained in:
parent
d1b0918957
commit
849f3f9e15
|
@ -201,9 +201,9 @@ _il_home_btn_cb_mouse_down(void *data, Evas *evas, Evas_Object *obj, void *event
|
|||
Instance *inst;
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
|
||||
if (!(inst = data)) return;
|
||||
ev = event;
|
||||
if (ev->button == 1) return;
|
||||
if (!(inst = data)) return;
|
||||
if ((ev->button == 3) && (!inst->menu))
|
||||
{
|
||||
E_Menu *mn;
|
||||
|
|
Loading…
Reference in New Issue