| Index: ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
| ===================================================================
|
| --- ui/views/widget/desktop_aura/desktop_root_window_host_win.cc (revision 235767)
|
| +++ ui/views/widget/desktop_aura/desktop_root_window_host_win.cc (working copy)
|
| @@ -64,7 +64,8 @@
|
| should_animate_window_close_(false),
|
| pending_close_(false),
|
| has_non_client_view_(false),
|
| - tooltip_(NULL) {
|
| + tooltip_(NULL),
|
| + is_cursor_visible_(true) {
|
| }
|
|
|
| DesktopRootWindowHostWin::~DesktopRootWindowHostWin() {
|
| @@ -487,6 +488,9 @@
|
| }
|
|
|
| void DesktopRootWindowHostWin::OnCursorVisibilityChanged(bool show) {
|
| + if (is_cursor_visible_ == show)
|
| + return;
|
| + is_cursor_visible_ = show;
|
| ::ShowCursor(!!show);
|
| }
|
|
|
|
|