summaryrefslogtreecommitdiffstats
path: root/chrome/views/window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/window.cc')
-rw-r--r--chrome/views/window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/window.cc b/chrome/views/window.cc
index 880ab9a..c2e2a7e 100644
--- a/chrome/views/window.cc
+++ b/chrome/views/window.cc
@@ -343,7 +343,7 @@ void Window::RunSystemMenu(const CPoint& point) {
// We need to call this otherwise there's a small chance that we aren't going
// to get a system menu. We also can't take the return value of this
// function. We need to call it *again* to get a valid HMENU.
- ::GetSystemMenu(GetHWND(), TRUE);
+ //::GetSystemMenu(GetHWND(), TRUE);
HMENU system_menu = ::GetSystemMenu(GetHWND(), FALSE);
int id = ::TrackPopupMenu(system_menu,
TPM_LEFTBUTTON | TPM_RIGHTBUTTON | TPM_RETURNCMD,