diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-04-11 12:12:45 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-04-11 12:12:45 +0300 |
commit | 3cf9e2a6e33599bb12a949a3b5bd1847f39ab948 (patch) | |
tree | c84328d8003838cec65669872dcad95a42a57d71 /test/lisp/emacs-lisp/bytecomp-resources/warn-save-excursion.el | |
parent | 0f494760d3344201f0c01723c246ba0ad2d15d90 (diff) | |
download | emacs-3cf9e2a6e33599bb12a949a3b5bd1847f39ab948.tar.gz emacs-3cf9e2a6e33599bb12a949a3b5bd1847f39ab948.tar.bz2 emacs-3cf9e2a6e33599bb12a949a3b5bd1847f39ab948.zip |
Fix handling of mouse clicks on tab-bar buttons
* src/xdisp.c (note_mouse_highlight): Don't attempt to highlight
tab-bar buttons.
(note_tab_bar_highlight): Function deleted: it had no effect on
display of tab-bar buttons.
(tab_bar_item_info): Mention all arguments in the commentary.
(get_tab_bar_item): Don't pay attention to mouse-highlight
information; instead, compare the button's index with the one
recorded in f->last_tab_bar_item.
(handle_tab_bar_click): Don't attempt to show tab-bar buttons in
pressed or released state: that isn't supported. Determine
whether to generate a tab-bar button click based on DOWN_P
argument, not on mouse-highlight, which has no effect on tab-bar
display. (Bug#47581)
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-save-excursion.el')
0 files changed, 0 insertions, 0 deletions