diff options
| author | Gerd Moellmann | 2001-01-24 14:21:11 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-01-24 14:21:11 +0000 |
| commit | 3497f73e06fb3a7f86ab43aafba610b380a401e6 (patch) | |
| tree | ca019a22addc8a7ff67cebd3b23590dd893da10f /src | |
| parent | 043631796e44bcfde79160170c96142c10175b0d (diff) | |
| download | emacs-3497f73e06fb3a7f86ab43aafba610b380a401e6.tar.gz emacs-3497f73e06fb3a7f86ab43aafba610b380a401e6.zip | |
(x_new_font): Don't change a tooltip's size.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/xterm.c | 7 |
2 files changed, 14 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a3390bcbc5b..8ae281193bc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2001-01-24 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * xterm.c (x_new_font): Don't change a tooltip's size. | ||
| 4 | |||
| 5 | * xfns.c (x_create_tip_frame): Prevent changing the tooltip's | ||
| 6 | background color by specifying a color for the default font | ||
| 7 | in .Xdefaults. | ||
| 8 | |||
| 1 | 2001-01-24 Kenichi Handa <handa@etl.go.jp> | 9 | 2001-01-24 Kenichi Handa <handa@etl.go.jp> |
| 2 | 10 | ||
| 3 | * ccl.c (CCL_READ_CHAR): Change the argument name from r to REG as | 11 | * ccl.c (CCL_READ_CHAR): Change the argument name from r to REG as |
diff --git a/src/xterm.c b/src/xterm.c index 5adab80245c..f5c0a5dcc70 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -11449,7 +11449,12 @@ x_new_font (f, fontname) | |||
| 11449 | f->output_data.x->font->fid); | 11449 | f->output_data.x->font->fid); |
| 11450 | 11450 | ||
| 11451 | frame_update_line_height (f); | 11451 | frame_update_line_height (f); |
| 11452 | x_set_window_size (f, 0, f->width, f->height); | 11452 | |
| 11453 | /* Don't change the size of a tip frame; there's no point in | ||
| 11454 | doing it because it's done in Fx_show_tip, and it leads to | ||
| 11455 | problems because the tip frame has no widget. */ | ||
| 11456 | if (NILP (tip_frame) || XFRAME (tip_frame) != f) | ||
| 11457 | x_set_window_size (f, 0, f->width, f->height); | ||
| 11453 | } | 11458 | } |
| 11454 | else | 11459 | else |
| 11455 | /* If we are setting a new frame's font for the first time, | 11460 | /* If we are setting a new frame's font for the first time, |