diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c index c1814385b..26014c9ab 100644 --- a/src/bin/e_zone.c +++ b/src/bin/e_zone.c @@ -1603,6 +1603,7 @@ _e_zone_cb_mouse_down(void *data, zev->edge = edge; zev->x = ev->root.x; zev->y = ev->root.y; + zev->button = ev->buttons; zev->modifiers = ev->modifiers; ecore_event_add(E_EVENT_ZONE_EDGE_OUT, zev, NULL, NULL); e_bindings_edge_down_event_handle(E_BINDING_CONTEXT_ZONE, E_OBJECT(zone), zev); @@ -1630,6 +1631,7 @@ _e_zone_cb_mouse_up(void *data, zev->edge = edge; zev->x = ev->root.x; zev->y = ev->root.y; + zev->button = ev->buttons; zev->modifiers = ev->modifiers; ecore_event_add(E_EVENT_ZONE_EDGE_OUT, zev, NULL, NULL); e_bindings_edge_up_event_handle(E_BINDING_CONTEXT_ZONE, E_OBJECT(zone), zev); diff --git a/src/bin/e_zone.h b/src/bin/e_zone.h index 3d07e7bea..62e0437d1 100644 --- a/src/bin/e_zone.h +++ b/src/bin/e_zone.h @@ -125,6 +125,7 @@ struct _E_Event_Zone_Edge E_Zone_Edge edge; int x, y; int modifiers; + int button; }; EINTERN int e_zone_init(void);