diff options
| author | Karl Heuer | 1995-05-29 21:04:07 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-05-29 21:04:07 +0000 |
| commit | 6c6a9be863aafe0507b199e375c0e04208693573 (patch) | |
| tree | 75ff4dfc2432dc3f4eb247e9a1e9c6f83c955254 /src | |
| parent | 8126c3b47078b24f6390cd985a685ae58ade0f2a (diff) | |
| download | emacs-6c6a9be863aafe0507b199e375c0e04208693573.tar.gz emacs-6c6a9be863aafe0507b199e375c0e04208693573.zip | |
(make_lispy_event, make_lispy_movement):
Use NULL, not 0, as arg of pixel_to_glyph_coords.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 5 |
1 files 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) | |||
| 3049 | return Qnil; | 3049 | return Qnil; |
| 3050 | 3050 | ||
| 3051 | pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), | 3051 | pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), |
| 3052 | &column, &row, 0, 1); | 3052 | &column, &row, NULL, 1); |
| 3053 | 3053 | ||
| 3054 | #ifndef USE_X_TOOLKIT | 3054 | #ifndef USE_X_TOOLKIT |
| 3055 | /* In the non-toolkit version, clicks on the menu bar | 3055 | /* In the non-toolkit version, clicks on the menu bar |
| @@ -3318,7 +3318,8 @@ make_lispy_movement (frame, bar_window, part, x, y, time) | |||
| 3318 | #endif | 3318 | #endif |
| 3319 | { | 3319 | { |
| 3320 | /* It's in a frame; which window on that frame? */ | 3320 | /* It's in a frame; which window on that frame? */ |
| 3321 | pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, 0, 1); | 3321 | pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, |
| 3322 | NULL, 1); | ||
| 3322 | window = window_from_coordinates (frame, column, row, &area); | 3323 | window = window_from_coordinates (frame, column, row, &area); |
| 3323 | } | 3324 | } |
| 3324 | else | 3325 | else |