summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2018-02-10 10:18:38 +0100
committerMartin Rudalics <rudalics@gmx.at>2018-02-10 10:18:38 +0100
commit479f51a63bb0de72453881d72a1b3ff5f30b4658 (patch)
tree2dfd86cd245bc11954b933f2e99670aa3b42b4ee /lisp/emacs-lisp/lisp.el
parent2c980ea613115f5c2858e172f3bf9be103439a46 (diff)
downloademacs-479f51a63bb0de72453881d72a1b3ff5f30b4658.tar.gz
emacs-479f51a63bb0de72453881d72a1b3ff5f30b4658.tar.bz2
emacs-479f51a63bb0de72453881d72a1b3ff5f30b4658.zip
Make tooltip code handle scenarios from Bug#30182 and Bug#30399
Move calculation of the mode line default help echo from note_mode_line_or_margin_highlight to display_mode_lines (Bug#30182). Fix cursor type for dragging the mode line. Normalize FRAME argument of Fx_show_tip before assigning it to tip_last_frame and handle the transition from GTK+ to Emacs tooltips and vice-versa in x_hide_tip (Bug#30399). * src/window.h (struct window): New Lisp member mode_line_help_echo. (wset_mode_line_help_echo): New function. * src/w32fns.c (Fx_show_tip): Normalize the FRAME argument bevore storing it in tip_last_frame (Bug#30399). * src/xdisp.c (display_mode_lines): Calculate mode line default help echo string here and store it in the window's mode_line_help_echo slot (Bug#30182). (note_mode_line_or_margin_highlight): Use value in window's mode_line_help_echo slot as mode line default help echo. When the window is resizable show a vertical drag cursor instead of the vertical scroll bar cursor. * src/xfns.c (x_hide_tip): Rewrite the GTK+ part to correctly handle the transition from GTK+ system to Emacs tooltips and vice-versa (Bug#30399). (Fx_show_tip): Normalize the FRAME argument bevore storing it in tip_last_frame (Bug#30399).
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions