mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 22:58:50 +02:00
Lazarus IDE: make MainFormOnTaskBar True, issue #39654
This commit is contained in:
parent
bb69320587
commit
8de57d2e1c
@ -117,10 +117,9 @@ begin
|
||||
{$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;
|
||||
// other forms. This is absolutely OK and native for Windows and Delphi behaves the same.
|
||||
// It also solves issues with multiple displays when Lazarus IDE is on one display and the taskbar button on the other one.
|
||||
Application.{%H-}MainFormOnTaskBar := True;
|
||||
{$ENDIF}
|
||||
|
||||
{$IF DEFINED(MSWINDOWS) AND DECLARED(GlobalSkipIfNoLeaks)}
|
||||
|
Loading…
Reference in New Issue
Block a user