aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
index ac31eb1f291..64591fb8565 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -265,6 +265,11 @@ extern Lisp_Object item_properties;
265 (XCONS (XCONS (XCONS (XCONS (posn)->cdr)->cdr)->cdr)->car) 265 (XCONS (XCONS (XCONS (XCONS (posn)->cdr)->cdr)->cdr)->car)
266#define POSN_SCROLLBAR_PART(posn) (Fnth ((posn), make_number (4))) 266#define POSN_SCROLLBAR_PART(posn) (Fnth ((posn), make_number (4)))
267 267
268/* A cons (STRING . STRING-CHARPOS), or nil in mouse-click events.
269 It's a cons if the click is over a string in the mode line. */
270
271#define POSN_STRING(POSN) Fnth (make_number (4), (POSN))
272
268/* Some of the event heads. */ 273/* Some of the event heads. */
269extern Lisp_Object Qswitch_frame; 274extern Lisp_Object Qswitch_frame;
270 275
@@ -284,7 +289,7 @@ extern Lisp_Object Qscroll_bar_movement;
284 (Fget ((event_head), Qevent_kind)) 289 (Fget ((event_head), Qevent_kind))
285 290
286/* Symbols to use for non-text mouse positions. */ 291/* Symbols to use for non-text mouse positions. */
287extern Lisp_Object Qmode_line, Qvertical_line; 292extern Lisp_Object Qmode_line, Qvertical_line, Qtop_line;
288 293
289/* Forward declaration for prototypes. */ 294/* Forward declaration for prototypes. */
290struct input_event; 295struct input_event;