diff options
| author | YAMAMOTO Mitsuharu | 2019-06-21 09:25:47 +0900 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2019-06-21 09:25:47 +0900 |
| commit | 2a229f495fe5c8be84b3c5718f87d86c8d06a644 (patch) | |
| tree | 3eac91d29d7e8849ccc5d95bdfa310c9b3164aec /src/xterm.c | |
| parent | 2da3305c3c335adcbc9e541b7c50e4e814df87d1 (diff) | |
| download | emacs-2a229f495fe5c8be84b3c5718f87d86c8d06a644.tar.gz emacs-2a229f495fe5c8be84b3c5718f87d86c8d06a644.zip | |
Fix blank tooltips on cairo (Bug#36298)
* src/xterm.h (x_cr_update_surface_desired_size) [USE_CAIRO]: Add extern.
* src/xterm.c (x_cr_update_surface_desired_size) [USE_CAIRO]: Make non-static.
* src/xfns.c (Fx_show_tip) [USE_CAIRO]: Call x_cr_update_surface_desired_size.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 9bb0b83916c..38bf0a224d4 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -345,7 +345,7 @@ x_cr_destroy_frame_context (struct frame *f) | |||
| 345 | } | 345 | } |
| 346 | } | 346 | } |
| 347 | 347 | ||
| 348 | static void | 348 | void |
| 349 | x_cr_update_surface_desired_size (struct frame *f, int width, int height) | 349 | x_cr_update_surface_desired_size (struct frame *f, int width, int height) |
| 350 | { | 350 | { |
| 351 | if (FRAME_CR_SURFACE_DESIRED_WIDTH (f) != width | 351 | if (FRAME_CR_SURFACE_DESIRED_WIDTH (f) != width |