diff --git a/.gitignore b/.gitignore index c06be3b0d4..6b35db3b6c 100644 --- a/.gitignore +++ b/.gitignore @@ -242,3 +242,7 @@ platforms/unix/config/autom4te.cache/ /products/debug/* *.cer *.p12 + +# Editors +.vs/* +.vscode/* diff --git a/platforms/win32/vm/sqWin32Window.c b/platforms/win32/vm/sqWin32Window.c index 53ef9be5d6..02afa6b0d6 100644 --- a/platforms/win32/vm/sqWin32Window.c +++ b/platforms/win32/vm/sqWin32Window.c @@ -1268,7 +1268,8 @@ int recordDragDropEvent(HWND wnd, int dragType, int x, int y, int numFiles) /* first the basics */ evt->type = EventTypeDragDropFiles; - evt->timeStamp = ioMicroMSecs(); + // Be consistent with MSG.time source which is recorded for regular mouse events + evt->timeStamp = GetTickCount(); evt->dragType = dragType; evt->x = x; evt->y = y;