From 6c6a9be863aafe0507b199e375c0e04208693573 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 29 May 1995 21:04:07 +0000 Subject: [PATCH] (make_lispy_event, make_lispy_movement): Use NULL, not 0, as arg of pixel_to_glyph_coords. --- src/keyboard.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index 27253dfc243..afaab7bebe2 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3049,7 +3049,7 @@ make_lispy_event (event) return Qnil; pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), - &column, &row, 0, 1); + &column, &row, NULL, 1); #ifndef USE_X_TOOLKIT /* In the non-toolkit version, clicks on the menu bar @@ -3318,7 +3318,8 @@ make_lispy_movement (frame, bar_window, part, x, y, time) #endif { /* It's in a frame; which window on that frame? */ - pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, 0, 1); + pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, + NULL, 1); window = window_from_coordinates (frame, column, row, &area); } else -- 2.39.2