diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-11-18 17:07:17 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-11-18 17:07:17 +0200 |
commit | 588978d75ce7a14e6fc9ef9b57d8a2e5f4c96a8c (patch) | |
tree | 82c9f42af554a0dd70d12cd60c3f7825880cd75a /src/corelib | |
parent | 702e6fd3f55a4eb55316c0892cf21bc80436b8b6 (diff) | |
download | fpGUI-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.pas | 16 |
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: |