diff options
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/chat_tools.cpp | 2 | ||||
-rw-r--r-- | src/mir_app/src/srmm_base.cpp | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/src/mir_app/src/chat_tools.cpp b/src/mir_app/src/chat_tools.cpp index d84db16bb2..fad905e215 100644 --- a/src/mir_app/src/chat_tools.cpp +++ b/src/mir_app/src/chat_tools.cpp @@ -785,7 +785,7 @@ MIR_APP_DLL(UINT) Chat_CreateGCMenu(HWND hwnd, HMENU hMenu, POINT pt, SESSION_IN NotifyEventHooks(hevBuildMenuEvent, 0, (WPARAM)&gcmi);
- return TrackPopupMenu(hMenu, TPM_RETURNCMD, pt.x, pt.y, 0, hwnd, nullptr);
+ return TrackPopupMenu(hMenu, TPM_RETURNCMD | TPM_RIGHTBUTTON, pt.x, pt.y, 0, hwnd, nullptr);
}
MIR_APP_DLL(void) Chat_DestroyGCMenu(HMENU hMenu, int iIndex)
diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp index c4f00bc91c..cff7201f24 100644 --- a/src/mir_app/src/srmm_base.cpp +++ b/src/mir_app/src/srmm_base.cpp @@ -500,14 +500,6 @@ LRESULT CSrmmBaseDialog::WndProc_Nicklist(UINT msg, WPARAM wParam, LPARAM lParam RECT rc; switch (msg) { - case WM_RBUTTONDOWN: - m_nickList.SendMsg(WM_LBUTTONDOWN, wParam, lParam); - break; - - case WM_RBUTTONUP: - m_nickList.SendMsg(WM_LBUTTONUP, wParam, lParam); - break; - case WM_MEASUREITEM: { MEASUREITEMSTRUCT *mis = (MEASUREITEMSTRUCT *)lParam; |