# HG changeset patch # User Jason Rumney # Date 1016657883 0 # Node ID b90b8e8e3626c52500f6fc1e944580bdc0f3e15a # Parent 5edbf7ab5d6bb80f88d3a7e41cec921601bb084b (w32_read_socket) : Use XFASTINT to extract mouse co-ordinates. diff -r 5edbf7ab5d6b -r b90b8e8e3626 src/w32term.c --- a/src/w32term.c Wed Mar 20 20:41:49 2002 +0000 +++ b/src/w32term.c Wed Mar 20 20:58:03 2002 +0000 @@ -8804,7 +8804,10 @@ && 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,