all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* keymap and cursor in HEADER_LINE
@ 2004-03-14 12:24 Masatake YAMATO
  0 siblings, 0 replies; only message in thread
From: Masatake YAMATO @ 2004-03-14 12:24 UTC (permalink / raw)


(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  <jet@gyve.org>

	* 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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-14 12:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-14 12:24 keymap and cursor in HEADER_LINE Masatake YAMATO

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.