diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-12-09 22:06:19 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-12-09 22:06:19 +0200 |
commit | 122e7264b88049e8d1a0b54dd993f137238c33fb (patch) | |
tree | 9db4446dd341a4401c524d1b6790814254adf3f5 /src/window.h | |
parent | e1cc2037a9183bab9440b7b981a233c95d896aac (diff) | |
download | emacs-122e7264b88049e8d1a0b54dd993f137238c33fb.tar.gz |
Fix tool-tip display when display margins are non-zero by default
* src/buffer.h (bset_left_margin_cols, bset_right_margin_cols):
New inline functions.
* src/xfns.c (Fx_show_tip):
* src/w32fns.c (Fx_show_tip): Force display margins of the tip
buffer to zero, as it will be displayed in a pseudo-window, which
doesn't support display margins. (Bug#29627)
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h index 25c9686a9f0..563a6f6ff0d 100644 --- a/src/window.h +++ b/src/window.h @@ -370,7 +370,8 @@ struct window bool_bf must_be_updated_p : 1; /* Flag indicating that this window is not a real one. - Currently only used for menu bar windows of frames. */ + Currently only used for menu bar windows, for tool bar windows, + and for tooltips. */ bool_bf pseudo_window_p : 1; /* True means fringes are drawn outside display margins. |