diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-09-22 09:27:10 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-09-23 16:24:42 +0200 |
commit | fba5173d0b81366dac1c4aed55d8c1b82ab7eb77 (patch) | |
tree | e50768310f254025be56be55e33bf8770630f6d1 /src/corelib | |
parent | 0f5506977d5c6bf3ae18edee77bbb7143e3778c6 (diff) | |
download | fpGUI-fba5173d0b81366dac1c4aed55d8c1b82ab7eb77.tar.xz |
IsDNDAware never actually returned True before. Oops!
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/x11/fpg_x11.pas | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas index 851aaae2..f6e33236 100644 --- a/src/corelib/x11/fpg_x11.pas +++ b/src/corelib/x11/fpg_x11.pas @@ -3168,6 +3168,7 @@ begin lversion := Integer(data[0]); FUseVersion := min(Integer(FPG_XDND_VERSION), Integer(lversion)); + Result := True; {$IFDEF DNDDEBUG} writeln(Format('IsDNDAware theirs:%d ours:%d using:%d', [lversion, FPG_XDND_VERSION, FUseVersion])); @@ -3231,7 +3232,8 @@ begin xev.xclient.data.l[2] := xia_plain_text; //FMimeTypesArray[0]; xev.xclient.data.l[3] := x.None; xev.xclient.data.l[4] := x.None; - sl.Free; + +// sl.Free; // for (i = 0; i < 3; ++i) // xevent.xclient.data.l[2+i] = (i < n) ? _typelist[i] : None; |