Index: aura/desktop_host_win.cc |
=================================================================== |
--- aura/desktop_host_win.cc (revision 97880) |
+++ aura/desktop_host_win.cc (working copy) |
@@ -57,7 +57,11 @@ |
LPARAM l_param) { |
MSG msg = { hwnd(), message, w_param, l_param, 0, |
{ GET_X_LPARAM(l_param), GET_Y_LPARAM(l_param) } }; |
- SetMsgHandled(desktop_->OnMouseEvent(MouseEvent(msg))); |
+ MouseEvent event(msg); |
+ bool handled = false; |
+ if (!(event.flags() & ui::EF_IS_NON_CLIENT)) |
+ handled = desktop_->OnMouseEvent(event); |
+ SetMsgHandled(handled); |
return 0; |
} |