diff options
author | Stefan Werner <stefan.werner@tangent-animation.com> | 2019-10-02 11:22:26 +0300 |
---|---|---|
committer | Stefan Werner <stefan.werner@tangent-animation.com> | 2019-10-02 11:22:26 +0300 |
commit | f97a64aa9b7b384f8221a1ef4f2eef9cde1238db (patch) | |
tree | dda6a7c5b43d50e9769e697e842a482c9317145d /intern | |
parent | 3b23685c7dc16588bcc18045a1ba8c01671574c3 (diff) |
Fix T70252: Reverting to macOS 10.11 compatible API.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index e46e589fea4..6087df978fa 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -388,7 +388,7 @@ GHOST_WindowCocoa::GHOST_WindowCocoa(GHOST_SystemCocoa *systemCocoa, [m_window setAcceptsMouseMovedEvents:YES]; NSView *contentview = [m_window contentView]; - [contentview setAllowedTouchTypes:(NSTouchTypeMaskDirect | NSTouchTypeMaskIndirect)]; + [contentview setAcceptsTouchEvents:YES]; [m_window registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType, NSStringPboardType, |