e45f9ad9
by Zhengyong Chen at 2026-06-12T20:49:45+02:00
win32u: Fix signed coordinate extraction in drag_drop_call.
Xdnd protocol uses 16-bit signed coordinates for mouse position.
When the cursor is on a secondary monitor left of the primary,
coordinates are negative. LOWORD/HIWORD extract the low 16 bits
as unsigned, causing sign loss when assigning to RECT fields.
Fix by casting LOWORD/HIWORD result to SHORT before assignment,
ensuring proper sign extension on both 32-bit and 64-bit Wine.
Signed-off-by: chenzhengyong <chenzhengyong@uniontech.com>