summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gstädtner <thomas@gstaedtner.net>2013-06-15 10:14:09 +0100
committerdiscomfitor <michael.blumenkrantz@gmail.com>2013-06-15 10:14:09 +0100
commit934bae833dc092b3efe1c2ca83097c0b5ac3f56f (patch)
treeda1681a9ede7e65d1e4654aa86c160a45cf3113b
parent89b501df028fd7e8e0e483884f1e560567828c96 (diff)
add middle mouse binding for ibar exec menu
this allows for quick, timer-less, access to the menu
-rw-r--r--src/modules/ibar/e_mod_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c
index e53ddb739..400291c4c 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
1028 if (!ic->timer) 1028 if (!ic->timer)
1029 ic->timer = ecore_timer_add(0.35, _ibar_cb_icon_timer_cb, ic); 1029 ic->timer = ecore_timer_add(0.35, _ibar_cb_icon_timer_cb, ic);
1030 } 1030 }
1031 else if (ev->button == 2)
1032 {
1033 _ibar_cb_icon_timer_cb(ic);
1034 }
1031 else if (ev->button == 3) 1035 else if (ev->button == 3)
1032 { 1036 {
1033 E_Menu *m, *mo; 1037 E_Menu *m, *mo;