Mercurial > emacs
diff src/w32term.c @ 24265:c5f1a1deffbb
(construct_drag_n_drop): Call DraqQueryPoint before
recording drop position.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Fri, 05 Feb 1999 17:49:04 +0000 |
parents | 9ed2245a9b79 |
children | f9d3288b66c3 |
line wrap: on
line diff
--- a/src/w32term.c Fri Feb 05 15:19:54 1999 +0000 +++ b/src/w32term.c Fri Feb 05 17:49:04 1999 +0000 @@ -1972,14 +1972,15 @@ result->timestamp = msg->msg.time; result->modifiers = msg->dwModifiers; + hdrop = (HDROP) msg->msg.wParam; + DragQueryPoint (hdrop, &p); + p.x = LOWORD (msg->msg.lParam); p.y = HIWORD (msg->msg.lParam); ScreenToClient (msg->msg.hwnd, &p); XSETINT (result->x, p.x); XSETINT (result->y, p.y); - hdrop = (HDROP) msg->msg.wParam; - DragQueryPoint (hdrop, &p); num_files = DragQueryFile (hdrop, 0xFFFFFFFF, NULL, 0); files = Qnil;