summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-28 00:28:24 +0000
committerkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-28 00:28:24 +0000
commit2d09965d2dfcc722ff13e933e3e532d22a5ec406 (patch)
treeec3c229ea46eba990ae8d2a8c09914b37ab2c782 /o3d
parentb09288b78170b9b9d9691e7ae208a376547ea5d7 (diff)
downloadchromium_src-2d09965d2dfcc722ff13e933e3e532d22a5ec406.zip
chromium_src-2d09965d2dfcc722ff13e933e3e532d22a5ec406.tar.gz
chromium_src-2d09965d2dfcc722ff13e933e3e532d22a5ec406.tar.bz2
Accepted mouse moved events in NSWindow used for Cocoa full-screen code path.
Verified with manipulators sample modified to support full-screen. BUG=http://code.google.com/p/o3d/issues/detail?id=222 TEST=none Review URL: http://codereview.chromium.org/2347001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48452 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/plugin/mac/fullscreen_window_mac.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/o3d/plugin/mac/fullscreen_window_mac.mm b/o3d/plugin/mac/fullscreen_window_mac.mm
index bbf99eb..717c65e 100644
--- a/o3d/plugin/mac/fullscreen_window_mac.mm
+++ b/o3d/plugin/mac/fullscreen_window_mac.mm
@@ -446,6 +446,7 @@ class CocoaFullscreenWindowMac : public FullscreenWindowMac {
screen:mainScreen];
if (self) {
owner_ = owner;
+ [self setAcceptsMouseMovedEvents:YES];
// We need to set ourselves as the delegate in order to receive
// focus changed notifications.
[self setDelegate:self];