mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 05:19:25 +02:00
IDE: Call UseDesktop (added in 51081) only when IDE is docked. Shortens startup time for undocked IDE.
git-svn-id: trunk@51083 -
This commit is contained in:
parent
b32ffa065f
commit
e0c99b1197
@ -1590,7 +1590,8 @@ begin
|
||||
// The message window height does not change arbitrarily any more in a docked IDE.
|
||||
// ToDo: Find out why it works and solve it properly.
|
||||
// Message window gets a special treatment while it should not, see issue #17908.
|
||||
EnvironmentOptions.UseDesktop(EnvironmentOptions.ActiveDesktop);
|
||||
if IDEDockMaster<>nil then
|
||||
EnvironmentOptions.UseDesktop(EnvironmentOptions.ActiveDesktop);
|
||||
|
||||
fUserInputSinceLastIdle:=true; // Idle work gets done initially before user action.
|
||||
MainIDEBar.ApplicationIsActivate:=true;
|
||||
|
Loading…
Reference in New Issue
Block a user