Peter Oberndorfer : wineconsole: Allow to select popup menu entries with the right mouse button.
Alexandre Julliard
julliard at winehq.org
Wed Sep 22 14:47:54 CDT 2010
Module: wine
Branch: master
Commit: 6191e42a0f335d39c5639c8a6ec9d1fb486b1259
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6191e42a0f335d39c5639c8a6ec9d1fb486b1259
Author: Peter Oberndorfer <kumbayo84 at arcor.de>
Date: Wed Sep 22 19:29:53 2010 +0200
wineconsole: Allow to select popup menu entries with the right mouse button.
---
programs/wineconsole/user.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/wineconsole/user.c b/programs/wineconsole/user.c
index f379faf..df39194 100644
--- a/programs/wineconsole/user.c
+++ b/programs/wineconsole/user.c
@@ -1177,7 +1177,7 @@ static LRESULT CALLBACK WCUSER_Proc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
pt.y = (short)HIWORD(lParam);
ClientToScreen(hWnd, &pt);
WCUSER_SetMenuDetails(data, PRIVATE(data)->hPopMenu);
- TrackPopupMenu(PRIVATE(data)->hPopMenu, TPM_LEFTALIGN|TPM_TOPALIGN,
+ TrackPopupMenu(PRIVATE(data)->hPopMenu, TPM_LEFTALIGN|TPM_TOPALIGN|TPM_RIGHTBUTTON,
pt.x, pt.y, 0, hWnd, NULL);
}
else
More information about the wine-cvs
mailing list