diff options
author | Rowan Daniell <unknown> | 2021-11-27 14:45:43 +1100 |
---|---|---|
committer | Rowan Daniell <unknown> | 2021-11-27 14:45:43 +1100 |
commit | 40fc39c0592c444e0b6aeb3b4f1b1d92da4a9bfb (patch) | |
tree | ae3fb5289ae0700f7e98aab81eff6eec39d66d80 /cocoa | |
parent | 2b73ecf3b327266921f31c92ec46b240ca9e7c89 (diff) | |
download | scintilla-mirror-40fc39c0592c444e0b6aeb3b4f1b1d92da4a9bfb.tar.gz |
Bug [#2299] Set active state correctly at creation.
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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; |