Mercurial > emacs
comparison src/keyboard.c @ 12007:4179378fa410
(make_lispy_event, make_lispy_movement):
Use NULL, not 0, as arg of pixel_to_glyph_coords.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 29 May 1995 21:04:07 +0000 |
parents | 25aed301d8f7 |
children | 3bbf71f1cf30 |
comparison
equal
deleted
inserted
replaced
12006:3e9db7cb1d05 | 12007:4179378fa410 |
---|---|
3047 have been deleted. */ | 3047 have been deleted. */ |
3048 if (! FRAME_LIVE_P (f)) | 3048 if (! FRAME_LIVE_P (f)) |
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 |
3056 are ordinary button events in the event buffer. | 3056 are ordinary button events in the event buffer. |
3057 Distinguish them, and invoke the menu. | 3057 Distinguish them, and invoke the menu. |
3316 #else | 3316 #else |
3317 if (1) | 3317 if (1) |
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 |
3325 window = Qnil; | 3326 window = Qnil; |
3326 | 3327 |