diff options
Diffstat (limited to 'chrome/browser/views')
| -rw-r--r-- | chrome/browser/views/constrained_window_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/constrained_window_impl.cc b/chrome/browser/views/constrained_window_impl.cc index c5c43e1c..9ea3220 100644 --- a/chrome/browser/views/constrained_window_impl.cc +++ b/chrome/browser/views/constrained_window_impl.cc @@ -1344,7 +1344,8 @@ LRESULT ConstrainedWindowImpl::OnMouseActivate(HWND window, // We only detach the window if the user clicked on the title bar. That // way, users can click inside the contents of legitimate popups obtained // with a mouse gesture. - if (hittest_code != HTCLIENT && hittest_code != HTNOWHERE) { + if (hittest_code != HTCLIENT && hittest_code != HTNOWHERE && + hittest_code != HTCLOSE) { ActivateConstrainedWindow(); } else { // If the user did not click on the title bar, don't stop message |
