summaryrefslogtreecommitdiff
path: root/src/corelib/x11/gfx_x11.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/x11/gfx_x11.pas')
-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 1ed0af85..63cce392 100644
--- a/src/corelib/x11/gfx_x11.pas
+++ b/src/corelib/x11/gfx_x11.pas
@@ -1121,7 +1121,7 @@ var
dy: integer;
cw: TfpgWinHandle;
begin
- if not ASource.HandleIsValid then
+ if not TfpgWindowImpl(ASource).HandleIsValid then
Exit; //==>
XTranslateCoordinates(xapplication.display, TfpgWindowImpl(ASource).WinHandle,