[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
keymap and cursor in HEADER_LINE
From: |
Masatake YAMATO |
Subject: |
keymap and cursor in HEADER_LINE |
Date: |
Sun, 14 Mar 2004 21:24:25 +0900 (JST) |
(I'm working on mouse_face highlight support in mode line and header line.
This is the first step for the goal.)
local_map, keymap and cursor were changed only if the mouse pointer on
mode lines. I changed they are changed if the mouse pointer on mode lines
or header lines.
Regards,
Masatake YAMATO
2004-03-14 Masatake YAMATO <address@hidden>
* xdisp.c (note_mode_line_or_margin_highlight): Accept HEADER_LINE
when keymap and cursor are setup.
Index: xdisp.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xdisp.c,v
retrieving revision 1.869
diff -u -r1.869 xdisp.c
--- xdisp.c 3 Mar 2004 09:02:50 -0000 1.869
+++ xdisp.c 14 Mar 2004 12:16:54 -0000
@@ -20349,7 +20349,7 @@
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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- keymap and cursor in HEADER_LINE,
Masatake YAMATO <=