| Index: ui/views/widget/widget.cc
|
| diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
|
| index fbce29ee69aa9f0f31d785434e195aa5e5e9b49d..cd49a447d10b7729fa59a9fc91b3fd4172590c64 100644
|
| --- a/ui/views/widget/widget.cc
|
| +++ b/ui/views/widget/widget.cc
|
| @@ -983,10 +983,10 @@ gfx::Rect Widget::GetWorkAreaBoundsInScreen() const {
|
| return native_widget_->GetWorkAreaBoundsInScreen();
|
| }
|
|
|
| -void Widget::SynthesizeMouseMoveEvent() {
|
| +void Widget::SynthesizeMouseMoveEvent(bool force) {
|
| // In screen coordinate.
|
| gfx::Point mouse_location = EventMonitor::GetLastMouseLocation();
|
| - if (!GetWindowBoundsInScreen().Contains(mouse_location))
|
| + if (!force && !GetWindowBoundsInScreen().Contains(mouse_location))
|
| return;
|
|
|
| // Convert: screen coordinate -> widget coordinate.
|
|
|