diff options
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/window.h b/src/window.h index 72c58e7abfe..ee6ec3bb19a 100644 --- a/src/window.h +++ b/src/window.h @@ -204,6 +204,9 @@ struct window /* An alist with parameters. */ Lisp_Object window_parameters; + /* The help echo text for this window. Qnil if there's none. */ + Lisp_Object mode_line_help_echo; + /* No Lisp data may follow below this point without changing mark_object in alloc.c. The member current_matrix must be the first non-Lisp member. */ @@ -423,7 +426,7 @@ struct window /* Z_BYTE - buffer position of the last glyph in the current matrix of W. Should be nonnegative, and only valid if window_end_valid is true. */ ptrdiff_t window_end_bytepos; - }; + } GCALIGNED_STRUCT; INLINE bool WINDOWP (Lisp_Object a) @@ -441,7 +444,7 @@ INLINE struct window * XWINDOW (Lisp_Object a) { eassert (WINDOWP (a)); - return XUNTAG (a, Lisp_Vectorlike); + return XUNTAG (a, Lisp_Vectorlike, struct window); } /* Most code should use these functions to set Lisp fields in struct @@ -471,6 +474,12 @@ wset_redisplay_end_trigger (struct window *w, Lisp_Object val) } INLINE void +wset_mode_line_help_echo (struct window *w, Lisp_Object val) +{ + w->mode_line_help_echo = val; +} + +INLINE void wset_new_pixel (struct window *w, Lisp_Object val) { w->new_pixel = val; |