The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
RE: Different Window Problem
by Anna on Tuesday May 17th 2011, 13:26
Follow-up:
I noticed that when I ran with WINEDEBUG=+dinput (not sure if this actually made a difference, though, since ERR is enabled for all channels by default), I noticed:
err:ole:RevokeDragDrop invalid hwnd 0x10126
Found the source of the error here, in dlls/ole32/ole2.c:
if (!IsWindow(hwnd))
{
ERR("invalid hwnd %p\n", hwnd);
return DRAGDROP_E_INVALIDHWND;
}
So, it looks like it thinks we're on an invalid window, so it fails to revoke the drag&drop action. This would certainly explain the behavior!