Commit: 421a7a3385660a816cb1d7f2fa64f966fd0ca260
Author: Nicholas Rishel
Date:   Sat Nov 14 17:17:12 2020 -0800
Branches: temp_macos_coalesced_tablet
https://developer.blender.org/rB421a7a3385660a816cb1d7f2fa64f966fd0ca260

Move disabling mouse coalescing after application launches.

===================================================================

M       intern/ghost/intern/GHOST_SystemCocoa.mm

===================================================================

diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm 
b/intern/ghost/intern/GHOST_SystemCocoa.mm
index 4e1928f944b..2a3f6e0b0b9 100644
--- a/intern/ghost/intern/GHOST_SystemCocoa.mm
+++ b/intern/ghost/intern/GHOST_SystemCocoa.mm
@@ -415,6 +415,8 @@ extern "C" int GHOST_HACK_getFirstFile(char 
buf[FIRSTFILEBUFLG])
     // with a frontmost window but an inactive application.
     [NSApp activateIgnoringOtherApps:YES];
   }
+
+  [NSEvent setMouseCoalescingEnabled:NO];
 }
 
 - (BOOL)application:(NSApplication *)theApplication openFile:(NSString 
*)filename
@@ -535,8 +537,6 @@ GHOST_SystemCocoa::GHOST_SystemCocoa()
   m_ignoreWindowSizedMessages = false;
   m_ignoreMomentumScroll = false;
   m_multiTouchScroll = false;
-
-  [NSEvent setMouseCoalescingEnabled:NO];
 }
 
 GHOST_SystemCocoa::~GHOST_SystemCocoa()

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to