(note_mode_line_or_margin_highlight): Accept HEADER_LINE when keymap and cursor are setup.

This commit is contained in:
Masatake YAMATO 2004-03-16 13:12:03 +00:00
parent 0f214cdfef
commit 73bc43da2e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-03-14 Masatake YAMATO <jet@gyve.org>
* xdisp.c (note_mode_line_or_margin_highlight): Accept HEADER_LINE
when keymap and cursor are setup.
2004-03-14 Steven Tamm <steventamm@mac.com>
* Makefile.in (XMENU_OBJ): Do not include xmenu.o if

View file

@ -20349,7 +20349,7 @@ note_mode_line_or_margin_highlight (w, x, y, area)
pointer = Fget_text_property (pos, Qpointer, string);
/* Change the mouse pointer according to what is under X/Y. */
if (NILP (pointer) && area == ON_MODE_LINE)
if (NILP (pointer) && ((area == ON_MODE_LINE) || (area == ON_HEADER_LINE)))
{
Lisp_Object map;
map = Fget_text_property (pos, Qlocal_map, string);