Commit e81916d1 authored by Jason Rumney's avatar Jason Rumney
Browse files

(w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to extract mouse co-ordinates.

parent f37577f9
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment