diff options
| author | Po Lu | 2021-12-18 20:59:11 +0800 |
|---|---|---|
| committer | Po Lu | 2021-12-18 20:59:11 +0800 |
| commit | 97b6907563ae9c96ebb97876ce0662c7f9d47535 (patch) | |
| tree | 96bab8a30668d9eec8829cf8d5b83e80e5e0f245 | |
| parent | 4ff3a70153ac1716bf0767fbbf92b04fdb3b1c80 (diff) | |
| download | emacs-97b6907563ae9c96ebb97876ce0662c7f9d47535.tar.gz emacs-97b6907563ae9c96ebb97876ce0662c7f9d47535.zip | |
* src/pgtkfns.c (Fx_show_tip): Adjust call for new signature.
| -rw-r--r-- | src/pgtkfns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pgtkfns.c b/src/pgtkfns.c index 5fc5bb4bf22..21f31848a58 100644 --- a/src/pgtkfns.c +++ b/src/pgtkfns.c | |||
| @@ -3490,7 +3490,8 @@ Text larger than the specified size is clipped. */) | |||
| 3490 | try_window (window, pos, TRY_WINDOW_IGNORE_FONTS_CHANGE); | 3490 | try_window (window, pos, TRY_WINDOW_IGNORE_FONTS_CHANGE); |
| 3491 | /* Calculate size of tooltip window. */ | 3491 | /* Calculate size of tooltip window. */ |
| 3492 | size = Fwindow_text_pixel_size (window, Qnil, Qnil, Qnil, | 3492 | size = Fwindow_text_pixel_size (window, Qnil, Qnil, Qnil, |
| 3493 | make_fixnum (w->pixel_height), Qnil); | 3493 | make_fixnum (w->pixel_height), Qnil, |
| 3494 | Qnil); | ||
| 3494 | /* Add the frame's internal border to calculated size. */ | 3495 | /* Add the frame's internal border to calculated size. */ |
| 3495 | width = XFIXNUM (Fcar (size)) + 2 * FRAME_INTERNAL_BORDER_WIDTH (tip_f); | 3496 | width = XFIXNUM (Fcar (size)) + 2 * FRAME_INTERNAL_BORDER_WIDTH (tip_f); |
| 3496 | height = XFIXNUM (Fcdr (size)) + 2 * FRAME_INTERNAL_BORDER_WIDTH (tip_f); | 3497 | height = XFIXNUM (Fcdr (size)) + 2 * FRAME_INTERNAL_BORDER_WIDTH (tip_f); |