Used SetCapture/ReleaseCapture to emulate what x11 seems to do by default.
Attach a file by drag & drop or click to upload