diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-16 18:12:09 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-16 18:12:09 +0000 |
commit | 63b8201d4abcbfcc9d27ce3b410e6206e19d64c5 (patch) | |
tree | c35d6a8f0f9afcd66dfa31f3db8d0643074ac8ea /views/window | |
parent | 063002ca22759a0f70108956dd5f4c0a74d8fcda (diff) | |
download | chromium_src-63b8201d4abcbfcc9d27ce3b410e6206e19d64c5.zip chromium_src-63b8201d4abcbfcc9d27ce3b410e6206e19d64c5.tar.gz chromium_src-63b8201d4abcbfcc9d27ce3b410e6206e19d64c5.tar.bz2 |
Re-lands:
Add native capture API to Widget, and fix a bug in Window where we wouldn't let the window be closed from the X.
BUG=72040
TEST=none
R=sky
Review URL: http://codereview.chromium.org/6670049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r-- | views/window/window_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/window/window_win.cc b/views/window/window_win.cc index 4f204da..301b5099 100644 --- a/views/window/window_win.cc +++ b/views/window/window_win.cc @@ -673,7 +673,7 @@ LRESULT WindowWin::OnNCMouseRange(UINT message, // We SetCapture() to ensure we only show the menu when the button down and // up are both on the caption. Note: this causes the button up to be // WM_RBUTTONUP instead of WM_NCRBUTTONUP. - SetCapture(); + SetNativeCapture(); } WidgetWin::OnNCMouseRange(message, w_param, l_param); |