# HG changeset patch # User Richard M. Stallman # Date 761877784 0 # Node ID 67aa546e4ff178117b9a634a2fc73991cd66de3a # Parent 713d4d840a1187ad75b7bc034b5369f9d0d0df6a (construct_menu_click): Undo previous change. diff -r 713d4d840a11 -r 67aa546e4ff1 src/xterm.c --- a/src/xterm.c Mon Feb 21 21:54:33 1994 +0000 +++ b/src/xterm.c Tue Feb 22 00:43:04 1994 +0000 @@ -1673,7 +1673,7 @@ that the glyph at X, Y occupies, if BOUNDS != 0. If NOCLIP is nonzero, do not force the value into range. */ -static void +void pixel_to_glyph_coords (f, pix_x, pix_y, x, y, bounds, noclip) FRAME_PTR f; register int pix_x, pix_y; @@ -1780,14 +1780,9 @@ ? up_modifier : down_modifier)); - { - int row, column; - - pixel_to_glyph_coords (f, event->x, event->y, &column, &row, NULL, 0); - XFASTINT (result->x) = column; - XFASTINT (result->y) = -1; - XSET (result->frame_or_window, Lisp_Frame, f); - } + XFASTINT (result->x) = event->x; + XSETINT (result->y, -1); + XSET (result->frame_or_window, Lisp_Frame, f); } /* Function to report a mouse movement to the mainstream Emacs code.