diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-04-13 16:40:42 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-04-13 16:40:42 +0300 |
commit | 1667253fec963e2ffb2bb36db67564533cf92787 (patch) | |
tree | a110b3de13e980b687259875e9ef253462fcdc01 /test/lisp/emacs-lisp/timer-tests.el | |
parent | 6de79542e43ece9a12ebc032c275a6c3fee0b73b (diff) | |
download | emacs-1667253fec963e2ffb2bb36db67564533cf92787.tar.gz emacs-1667253fec963e2ffb2bb36db67564533cf92787.tar.bz2 emacs-1667253fec963e2ffb2bb36db67564533cf92787.zip |
Resurrect mouse-highlight of close buttons on tab-bar
* src/w32term.c (w32_draw_image_relief): Support tab-bar drawing
with relief as xterm.c does.
* src/xdisp.c (handle_tab_bar_click): Access the mouse-highlight
info. Call show_mouse_face to show the button in the pressed or
the released state, according to value of DOWN_P.
(note_tab_bar_highlight): Function added back.
(note_mouse_highlight): Call note_tab_bar_highlight when the mouse
pointer is in the tab-bar window.
(show_mouse_face): Return immediately if mouse_face_window is not
set up in HLINFO. This avoids rare assertion violations.
Diffstat (limited to 'test/lisp/emacs-lisp/timer-tests.el')
0 files changed, 0 insertions, 0 deletions