summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-26 07:00:43 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-26 07:00:43 +0000
commiteccf0ed03708436a1b2b5fc86805d5633c836eed (patch)
treea9a7a18aef94ae8d3d64d3fcb4e1b73217c65003
parent1b038fd4d4700347b001e1651cd0dbd8998a4509 (diff)
downloadfpGUI-eccf0ed03708436a1b2b5fc86805d5633c836eed.tar.xz
* Modal Forms can now also be Borderless.
-rw-r--r--src/corelib/x11/gfx_x11.pas2
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));