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 +- doc/ScintillaHistory.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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; diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 8d1d707f7..e324481e8 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -565,6 +565,7 @@ Michael Neuroth Arne Scheffler Jan DolinĂ¡r + Rowan Daniell

Releases

@@ -599,6 +600,10 @@ Bug #2295.
  • + On Cocoa set active state correctly at creation. + Bug #2299. +
  • +
  • On GTK using Wayland, display autocompletion with window on a secondary monitor. Bug #2296, Bug #2261. -- cgit v1.2.3