From: Jason Rumney Date: Wed, 20 Mar 2002 20:58:03 +0000 (+0000) Subject: (w32_read_socket) : Use XFASTINT to extract mouse co-ordinates. X-Git-Tag: ttn-vms-21-2-B4~16062 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e81916d1ba3fcf0a09fb7634f1d0c982714a39d6;p=emacs.git (w32_read_socket) : Use XFASTINT to extract mouse co-ordinates. --- diff --git a/src/w32term.c b/src/w32term.c index 3d52d332056..8a2e40616a3 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -8804,7 +8804,10 @@ w32_read_socket (sd, bufp, numchars, expected) && XFASTINT (XWINDOW (f->tool_bar_window)->height)) { Lisp_Object window; - int p; + int p, x, y; + + x = XFASTINT (emacs_event.x); + y = XFASTINT (emacs_event.y); /* Set x and y. */ window = window_from_coordinates (f,