diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-09-23 16:19:16 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-09-23 16:24:42 +0200 |
commit | e6e40fafbf7ab54130c0a474928e70564a24d36b (patch) | |
tree | 65224957cc9508ee25fc1e81daca85af7ff3a910 /src/corelib/x11 | |
parent | f8533987605b5872c7ab72b557a8291b21ea7960 (diff) | |
download | fpGUI-e6e40fafbf7ab54130c0a474928e70564a24d36b.tar.xz |
DND: clean-up after we are done.
Diffstat (limited to 'src/corelib/x11')
-rw-r--r-- | src/corelib/x11/fpg_x11.pas | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas index 1bebb2cf..d776a7e1 100644 --- a/src/corelib/x11/fpg_x11.pas +++ b/src/corelib/x11/fpg_x11.pas @@ -3371,6 +3371,9 @@ end; destructor TfpgX11Drag.Destroy; begin FSource.MouseCursor := mcDefault; + XDeleteProperty(xapplication.Display, FSource.WinHandle, xapplication.XdndAware); + XDeleteProperty(xapplication.Display, FSource.WinHandle, xapplication.XdndTypeList); + SetLength(FMimeTypesArray, 0); inherited Destroy; end; |