`vertical-line', `mode-line' and `header-line' events.
2000-11-27 Gerd Moellmann <gerd@gnu.org>
- * xdisp.c (try_window_id): Avoid starting to display in the moddle
+ * keyboard.c (lucid_event_type_list_p): Handle `help-echo',
+ `vertical-line', `mode-line' and `header-line' events.
+
+ * xdisp.c (try_window_id): Avoid starting to display in the middle
of a character, a TAB for instance. This is easier than to set
up the iterator exactly, and it's not a frequent case, so the
additional effort wouldn't really pay off.
if (part == 1 || part == 3)
{
- /* Mode line or top line. Look for a string under
+ /* Mode line or header line. Look for a string under
the mouse that may have a `local-map' property. */
Lisp_Object string;
int charpos;
if (! CONSP (object))
return 0;
+ if (EQ (XCAR (object), Qhelp_echo)
+ || EQ (XCAR (object), Qvertical_line)
+ || EQ (XCAR (object), Qmode_line)
+ || EQ (XCAR (object), Qheader_line))
+ return 0;
+
for (tail = object; CONSP (tail); tail = XCDR (tail))
{
Lisp_Object elt;