diff options
author | drewski207 <drewski207@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-11-03 17:40:50 +0000 |
---|---|---|
committer | drewski207 <drewski207@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-11-03 17:40:50 +0000 |
commit | 224b0b1f552725154b4f86dd56d1962d000e83c3 (patch) | |
tree | 367d6687c954428fb9fd6d45e0862fb548956820 /src/corelib/fpgfx.pas | |
parent | 049a32a2d057917d26656d54f93673dd394e89df (diff) | |
download | fpGUI-224b0b1f552725154b4f86dd56d1962d000e83c3.tar.xz |
* Improved modal form in X11 to use net window hints
* Implemented NET_WM_PING so newer window managers can kill our process if it stops responding
* Changed how Modal form are stored. fpgApplication now keeps a stack/list of Modal Forms
* Added fpgApplication PushModalForm and PopModalForm
* Fixed a bug in WindowAddProtocol which caused a libc doublefree error
Diffstat (limited to 'src/corelib/fpgfx.pas')
-rw-r--r-- | src/corelib/fpgfx.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/fpgfx.pas b/src/corelib/fpgfx.pas index e67989b4..9975e795 100644 --- a/src/corelib/fpgfx.pas +++ b/src/corelib/fpgfx.pas @@ -592,7 +592,7 @@ begin FDisplayParams := aparams; FScreenWidth := -1; FScreenHeight := -1; - TopModalForm := nil; + FModalFormStack := TList.Create; inherited Create(aparams); @@ -617,6 +617,7 @@ begin FFontResList.Free; FDefaultFont.Free; + FreeAndNil(FModalFormStack); inherited Destroy; end; |