summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatake YAMATO <jet@gyve.org>2004-03-16 13:12:03 +0000
committerMasatake YAMATO <jet@gyve.org>2004-03-16 13:12:03 +0000
commit73bc43da2e559cbca8b79d80ab0040b1d20ea92b (patch)
tree1175884f0373e0b32687f121b04900ac82865a9f
parent0f214cdfef8d907bed67fa79cf7fa1e4f0563e8e (diff)
downloademacs-73bc43da2e559cbca8b79d80ab0040b1d20ea92b.tar.gz
emacs-73bc43da2e559cbca8b79d80ab0040b1d20ea92b.tar.bz2
emacs-73bc43da2e559cbca8b79d80ab0040b1d20ea92b.zip
(note_mode_line_or_margin_highlight): Accept HEADER_LINE when keymap and cursor are setup.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ed93c0fdb7c..12e5bbfa62b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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
diff --git a/src/xdisp.c b/src/xdisp.c
index fb66bf0beb0..11327e13102 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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);