You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exec_stat es = message_with_args(MCM_menu_pick, slabel);
391
+
if (es == ES_NOT_HANDLED || es == ES_PASS)
392
+
message_with_args(MCM_mouse_up, menubutton);
393
+
}
394
+
else
395
+
message_with_args(MCM_mouse_release, menubutton);
396
+
state &= ~(CS_MFOCUSED | CS_ARMED | CS_HILITED);
397
+
layer_redrawall();
398
+
#endif
399
+
result = MCPlatformPopUpMenu(m_system_menu, MCmousestackptr -> getwindow(), , tmenux - trect . x + rect . x, tmenuy - trect . y + rect . y, menuhistory);
400
+
if (result > 0)
401
+
{
402
+
}
403
+
break;
404
+
caseWM_PULLDOWN:
405
+
caseWM_CASCADE:
406
+
caseWM_POPUP: //= MAC's context menu, Menu displyed at the mouse loc
407
+
if (MCModeMakeLocalWindows())
408
+
result = PopUpMenuSelect(mh, tmenuy, tmenux, 0);
409
+
else
410
+
{
411
+
int32_t x, y;
412
+
if (menumode == WM_POPUP)
413
+
{
414
+
x = MCmousex + 1;
415
+
y = MCmousey + 1;
416
+
}
417
+
else
418
+
{
419
+
x = tmenux - trect . x + rect . x;
420
+
y = tmenuy - trect . y + rect . y;
421
+
}
422
+
423
+
result = MCModePopUpMenu((MCMacSysMenuHandle)mh, x, y, 0, MCmousestackptr);
0 commit comments