| Index: ui/views/corewm/compound_event_filter.cc
|
| diff --git a/ui/views/corewm/compound_event_filter.cc b/ui/views/corewm/compound_event_filter.cc
|
| index 9e857c6117c928a2d4a2708a272efed92707a2ad..4febbb8d80085ec9f0a5f499c7f108be0260d3e8 100644
|
| --- a/ui/views/corewm/compound_event_filter.cc
|
| +++ b/ui/views/corewm/compound_event_filter.cc
|
| @@ -179,11 +179,11 @@ void CompoundEventFilter::SetCursorVisibilityOnEvent(aura::Window* target,
|
| if (client) {
|
| if (show && cursor_hidden_by_filter_) {
|
| cursor_hidden_by_filter_ = false;
|
| - client->ShowCursor(true);
|
| + client->EnableCursor(true);
|
| } else if (client->IsCursorVisible() && !show &&
|
| !cursor_hidden_by_filter_) {
|
| cursor_hidden_by_filter_ = true;
|
| - client->ShowCursor(false);
|
| + client->EnableCursor(false);
|
| }
|
| }
|
| }
|
|
|