summaryrefslogtreecommitdiff
path: root/src/corelib/x11
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-11-09 10:14:52 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-11-12 11:04:00 +0200
commit34f56684dc5d449d6a3e5bd701039aeaab88dc16 (patch)
tree8fff580da311f7be7dad1e462c0ad12c85009c3e /src/corelib/x11
parentb71650d04ba702bb6c766f6b47c0be294b1c07cb (diff)
downloadfpGUI-34f56684dc5d449d6a3e5bd701039aeaab88dc16.tar.xz
fpgApplication.CreateForm implementation has changed, but end result is the same
Apparently it is good to allocate a instance, without calling the constructor. I'm not exactly sure why, but it also makes supporting FPC 2.5.1 a lot less messy (no casting required).
Diffstat (limited to 'src/corelib/x11')
-rw-r--r--src/corelib/x11/fpg_x11.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas
index 046f10ce..9d64599f 100644
--- a/src/corelib/x11/fpg_x11.pas
+++ b/src/corelib/x11/fpg_x11.pas
@@ -23,6 +23,8 @@ unit fpg_x11;
{.$Define DNDDEBUG} // drag-n-drop specific debugging
{ TODO : Compiz effects: Menu popup with correct window hint. Same for Combo dropdown window. }
+{ TODO : Under Compiz restoring a window position moves the window down/right the width and height
+ of the window borders. This as something to do with win_gravity = StaticGravity setting. }
interface