diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-26 07:00:43 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-26 07:00:43 +0000 |
commit | eccf0ed03708436a1b2b5fc86805d5633c836eed (patch) | |
tree | a9a7a18aef94ae8d3d64d3fcb4e1b73217c65003 /src/corelib/x11/gfx_x11.pas | |
parent | 1b038fd4d4700347b001e1651cd0dbd8998a4509 (diff) | |
download | fpGUI-eccf0ed03708436a1b2b5fc86805d5633c836eed.tar.xz |
* Modal Forms can now also be Borderless.
Diffstat (limited to 'src/corelib/x11/gfx_x11.pas')
-rw-r--r-- | src/corelib/x11/gfx_x11.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/x11/gfx_x11.pas b/src/corelib/x11/gfx_x11.pas index e505ed1f..10f667f6 100644 --- a/src/corelib/x11/gfx_x11.pas +++ b/src/corelib/x11/gfx_x11.pas @@ -1418,7 +1418,7 @@ begin fpgApplication.netlayer.WindowSetType(FWinHandle, [nwtSplash]); // process Borderless forms - if (FWindowType = wtWindow) and (waBorderless in FWindowAttributes) then + if ((FWindowType = wtWindow) or (FWindowType = wtModalForm)) and (waBorderless in FWindowAttributes) then begin prop := X.None; prop := XInternAtom(xapplication.display, '_MOTIF_WM_INFO', longbool(0)); |