aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/views
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-06-23 14:03:47 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-23 14:03:47 -0700
commit841959122cf0a2d1668af102f96dfbd5b2a133b5 (patch)
treeb4020b537457c5fdbed9f6b668d30cac91505bd7 /src/views
parentc53085413e0b4704aa89cc18396613d59e6ccb4d (diff)
Make SkNSView's window accept mouseMoved events
TBR=reed@google.com Review URL: https://codereview.chromium.org/1206563003
Diffstat (limited to 'src/views')
-rw-r--r--src/views/mac/SkNSView.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/views/mac/SkNSView.mm b/src/views/mac/SkNSView.mm
index e9e486a208..fd26e8a5b9 100644
--- a/src/views/mac/SkNSView.mm
+++ b/src/views/mac/SkNSView.mm
@@ -58,6 +58,7 @@ SK_COMPILE_ASSERT(SK_SUPPORT_GPU, not_implemented_for_non_gpu_build);
#endif
fWind->resize((int) size.width, (int) size.height,
kN32_SkColorType);
+ [[self window] setAcceptsMouseMovedEvents:YES];
}
}