add middle mouse binding for ibar exec menu
this allows for quick, timer-less, access to the menu
This commit is contained in:
parent
89b501df02
commit
934bae833d
|
@ -1028,6 +1028,10 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
|
||||||
if (!ic->timer)
|
if (!ic->timer)
|
||||||
ic->timer = ecore_timer_add(0.35, _ibar_cb_icon_timer_cb, ic);
|
ic->timer = ecore_timer_add(0.35, _ibar_cb_icon_timer_cb, ic);
|
||||||
}
|
}
|
||||||
|
else if (ev->button == 2)
|
||||||
|
{
|
||||||
|
_ibar_cb_icon_timer_cb(ic);
|
||||||
|
}
|
||||||
else if (ev->button == 3)
|
else if (ev->button == 3)
|
||||||
{
|
{
|
||||||
E_Menu *m, *mo;
|
E_Menu *m, *mo;
|
||||||
|
|
Loading…
Reference in New Issue