Commit 411acee3 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(mouse_get_pos): Don't convert to glyph units.

parent 2b5c9e71
......@@ -1013,8 +1013,8 @@ mouse_get_pos (f, bar_window, part, x, y, time)
*f = selected_frame;
*bar_window = Qnil;
gettimeofday (&tv, NULL);
*x = make_number (regs.x.cx / 8);
*y = make_number (regs.x.dx / 8);
*x = make_number (regs.x.cx);
*y = make_number (regs.x.dx);
*time = tv.tv_usec;
mouse_moved = 0;
}
......
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