From 239209c3a496430baece1ba9fd033c0e7f3cdcf1 Mon Sep 17 00:00:00 2001 From: mattias Date: Sun, 18 Aug 2013 12:19:52 +0000 Subject: [PATCH] IDE: disable MainFormOnTaskBar on windows git-svn-id: trunk@42421 - --- ide/lazarus.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ide/lazarus.pp b/ide/lazarus.pp index f732a17253..63ecc1843b 100644 --- a/ide/lazarus.pp +++ b/ide/lazarus.pp @@ -91,12 +91,14 @@ begin Application.Title:='Lazarus'; OnGetApplicationName:=@GetLazarusApplicationName; + {$IFDEF Windows} // on windows when MainFormOnTaskBar = True the main form becomes // the parent of all other forms and therefore it always shows under // other forms. For Lazarus the main form is the component palette form // and it is not a desired behavior to see it always under other windows. // So until we have a good docking solution let's have a dummy taskbar windows on windows. Application.{%H-}MainFormOnTaskBar := False; + {$ENDIF} Application.Initialize; TMainIDE.ParseCmdLineOptions;