Mercurial > emacs
changeset 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 | ffc2b7069315 |
children | 894911d2c01d |
files | src/w32term.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
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;