From 40fc39c0592c444e0b6aeb3b4f1b1d92da4a9bfb Mon Sep 17 00:00:00 2001 From: Rowan Daniell Date: Sat, 27 Nov 2021 14:45:43 +1100 Subject: Bug [#2299] Set active state correctly at creation. --- cocoa/ScintillaCocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa') diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index ed7150fa0..8786e7949 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -416,7 +416,7 @@ ScintillaCocoa::ScintillaCocoa(ScintillaView *sciView_, SCIContentView *viewCont notifyProc = NULL; capturedMouse = false; isFirstResponder = false; - isActive = false; + isActive = NSApp.isActive; enteredSetScrollingSize = false; scrollSpeed = 1; scrollTicks = 2000; -- cgit v1.2.3