summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-11-18 17:07:17 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-11-18 17:07:17 +0200
commit588978d75ce7a14e6fc9ef9b57d8a2e5f4c96a8c (patch)
tree82c9f42af554a0dd70d12cd60c3f7825880cd75a /src/corelib
parent702e6fd3f55a4eb55316c0892cf21bc80436b8b6 (diff)
downloadfpGUI-588978d75ce7a14e6fc9ef9b57d8a2e5f4c96a8c.tar.xz
This X11 work-around doesn't seem to be needed anymore.
Now that the Align issues have been resolved, this work-around is not needed any more. Commented, it now produces the exact same events as under Windows too. This is good, obviously. :)
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/x11/fpg_x11.pas16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas
index 5a4b6ccf..0a432335 100644
--- a/src/corelib/x11/fpg_x11.pas
+++ b/src/corelib/x11/fpg_x11.pas
@@ -1978,14 +1978,14 @@ begin
{ X11 is too efficient, so new windows don't need a OnResize when mapped,
but because Windows GDI does so, we want the same events under X11.
Lets fake one. }
- if w <> nil then
- begin
- msgp.rect.Left := w.Left;
- msgp.rect.Top := w.Top;
- msgp.rect.Width := w.Width;
- msgp.rect.Height := w.Height;
- fpgPostMessage(nil, w, FPGM_RESIZE, msgp);
- end;
+ //if w <> nil then
+ //begin
+ // msgp.rect.Left := w.Left;
+ // msgp.rect.Top := w.Top;
+ // msgp.rect.Width := w.Width;
+ // msgp.rect.Height := w.Height;
+ // fpgPostMessage(nil, w, FPGM_RESIZE, msgp);
+ //end;
end;
X.UnmapNotify: