I am running Linux using OpenBox with obConf
I have a form its borderStyle is set to bsNone
I have a popup menu with an option to show border so I can set it to Omnipresent -- then remove the border so I don't have to look at it anymore --
I have another option to minimize the form by double clicking the mouse, or by a menu option
problem:
it will not minimize with the omnipresent option set from obConf
I do not want to have to have to unset omnipresent manually. So, how would I access the obConf option to unset it using code in Lazarus
procedure TForm1.ImageDblClick(Sender: TObject);
begin
timer.Enabled:=false;
Form1.BorderStyle:=bsSingle;
// something like this
OperatingSystem->obConf->Omnipresent := false;
Form1.WindowState:=wsMinimized;
Application.Minimize;
end;