summaryrefslogtreecommitdiff
path: root/src/corelib/x11
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-09-23 16:19:16 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-09-23 16:24:42 +0200
commite6e40fafbf7ab54130c0a474928e70564a24d36b (patch)
tree65224957cc9508ee25fc1e81daca85af7ff3a910 /src/corelib/x11
parentf8533987605b5872c7ab72b557a8291b21ea7960 (diff)
downloadfpGUI-e6e40fafbf7ab54130c0a474928e70564a24d36b.tar.xz
DND: clean-up after we are done.
Diffstat (limited to 'src/corelib/x11')
-rw-r--r--src/corelib/x11/fpg_x11.pas3
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;