discomfitor pushed a commit to branch master.
commit 934bae833dc092b3efe1c2ca83097c0b5ac3f56f
Author: Thomas Gstädtner <[email protected]>
Date: Sat Jun 15 10:14:09 2013 +0100
add middle mouse binding for ibar exec menu
this allows for quick, timer-less, access to the menu
---
src/modules/ibar/e_mod_main.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c
index e53ddb7..400291c 100644
--- a/src/modules/ibar/e_mod_main.c
+++ b/src/modules/ibar/e_mod_main.c
@@ -1028,6 +1028,10 @@ _ibar_cb_icon_mouse_down(void *data, Evas *e __UNUSED__,
Evas_Object *obj __UNUS
if (!ic->timer)
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)
{
E_Menu *m, *mo;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev