Commit 55b1aa86 authored by claes's avatar claes

Set ClickSensitivity for MB3Press

parent 70d7f629
...@@ -2260,6 +2260,9 @@ int gre_flow_cb( FlowCtx *ctx, flow_tEvent event) ...@@ -2260,6 +2260,9 @@ int gre_flow_cb( FlowCtx *ctx, flow_tEvent event)
BEEP; BEEP;
} }
break; break;
case flow_eEvent_MB3Down:
flow_SetClickSensitivity( grectx->flow_ctx, flow_mSensitivity_MB3Press);
break;
case flow_eEvent_MB3Press: case flow_eEvent_MB3Press:
{ {
/* Popup menu */ /* Popup menu */
...@@ -2591,6 +2594,8 @@ int gre_edit_setup( gre_ctx grectx) ...@@ -2591,6 +2594,8 @@ int gre_edit_setup( gre_ctx grectx)
gre_flow_cb); gre_flow_cb);
flow_EnableEvent( ctx, flow_eEvent_MB3Press, flow_eEventType_CallBack, flow_EnableEvent( ctx, flow_eEvent_MB3Press, flow_eEventType_CallBack,
gre_flow_cb); gre_flow_cb);
flow_EnableEvent( ctx, flow_eEvent_MB3Down, flow_eEventType_CallBack,
gre_flow_cb);
flow_EnableEvent( ctx, flow_eEvent_MB1Click, flow_eEventType_CallBack, flow_EnableEvent( ctx, flow_eEvent_MB1Click, flow_eEventType_CallBack,
gre_flow_cb); gre_flow_cb);
flow_EnableEvent( ctx, flow_eEvent_MB1DoubleClickShiftCtrl, flow_eEventType_CallBack, flow_EnableEvent( ctx, flow_eEvent_MB1DoubleClickShiftCtrl, flow_eEventType_CallBack,
...@@ -2629,6 +2634,8 @@ int gre_view_setup( gre_ctx grectx) ...@@ -2629,6 +2634,8 @@ int gre_view_setup( gre_ctx grectx)
gre_flow_cb); gre_flow_cb);
flow_EnableEvent( ctx, flow_eEvent_MB3Press, flow_eEventType_CallBack, flow_EnableEvent( ctx, flow_eEvent_MB3Press, flow_eEventType_CallBack,
gre_flow_cb); gre_flow_cb);
flow_EnableEvent( ctx, flow_eEvent_MB3Down, flow_eEventType_CallBack,
gre_flow_cb);
flow_EnableEvent( ctx, flow_eEvent_MB1Click, flow_eEventType_CallBack, flow_EnableEvent( ctx, flow_eEvent_MB1Click, flow_eEventType_CallBack,
gre_flow_cb); gre_flow_cb);
flow_EnableEvent( ctx, flow_eEvent_Init, flow_eEventType_CallBack, flow_EnableEvent( ctx, flow_eEvent_Init, flow_eEventType_CallBack,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment