diff options
| author | Eli Zaretskii | 2013-09-26 10:37:16 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-09-26 10:37:16 +0300 |
| commit | b87c4ff2817e71ca71b028792200b1e069a95e04 (patch) | |
| tree | bfe00c0655fa02078a9ab2c633ea06d90c4a2064 /src/termhooks.h | |
| parent | bbc108377873aa6ed7cf21c731770103096eea39 (diff) | |
| parent | ba355de014b75ed104da4777f909db70d62f2357 (diff) | |
| download | emacs-b87c4ff2817e71ca71b028792200b1e069a95e04.tar.gz emacs-b87c4ff2817e71ca71b028792200b1e069a95e04.zip | |
Merge from trunk.
Diffstat (limited to 'src/termhooks.h')
| -rw-r--r-- | src/termhooks.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index 3e4ec1d7e6d..9cea0c188ec 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -26,11 +26,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 26 | #include "systime.h" /* for Time */ | 26 | #include "systime.h" /* for Time */ |
| 27 | 27 | ||
| 28 | INLINE_HEADER_BEGIN | 28 | INLINE_HEADER_BEGIN |
| 29 | #ifndef TERMHOOKS_INLINE | ||
| 30 | # define TERMHOOKS_INLINE INLINE | ||
| 31 | #endif | ||
| 32 | 29 | ||
| 33 | enum scroll_bar_part { | 30 | enum scroll_bar_part { |
| 31 | scroll_bar_nowhere = -1, | ||
| 34 | scroll_bar_above_handle, | 32 | scroll_bar_above_handle, |
| 35 | scroll_bar_handle, | 33 | scroll_bar_handle, |
| 36 | scroll_bar_below_handle, | 34 | scroll_bar_below_handle, |
| @@ -42,11 +40,6 @@ enum scroll_bar_part { | |||
| 42 | scroll_bar_move_ratio | 40 | scroll_bar_move_ratio |
| 43 | }; | 41 | }; |
| 44 | 42 | ||
| 45 | /* If the value of the frame parameter changed, whis hook is called. | ||
| 46 | For example, if going from fullscreen to not fullscreen this hook | ||
| 47 | may do something OS dependent, like extended window manager hints on X11. */ | ||
| 48 | extern void (*fullscreen_hook) (struct frame *f); | ||
| 49 | |||
| 50 | /* Output method of a terminal (and frames on this terminal, respectively). */ | 43 | /* Output method of a terminal (and frames on this terminal, respectively). */ |
| 51 | 44 | ||
| 52 | enum output_method | 45 | enum output_method |
| @@ -498,7 +491,7 @@ struct terminal | |||
| 498 | windows. */ | 491 | windows. */ |
| 499 | void (*frame_raise_lower_hook) (struct frame *f, int raise_flag); | 492 | void (*frame_raise_lower_hook) (struct frame *f, int raise_flag); |
| 500 | 493 | ||
| 501 | /* If the value of the frame parameter changed, whis hook is called. | 494 | /* If the value of the frame parameter changed, this hook is called. |
| 502 | For example, if going from fullscreen to not fullscreen this hook | 495 | For example, if going from fullscreen to not fullscreen this hook |
| 503 | may do something OS dependent, like extended window manager hints on X11. */ | 496 | may do something OS dependent, like extended window manager hints on X11. */ |
| 504 | void (*fullscreen_hook) (struct frame *f); | 497 | void (*fullscreen_hook) (struct frame *f); |
| @@ -612,12 +605,12 @@ struct terminal | |||
| 612 | 605 | ||
| 613 | /* Most code should use these functions to set Lisp fields in struct | 606 | /* Most code should use these functions to set Lisp fields in struct |
| 614 | terminal. */ | 607 | terminal. */ |
| 615 | TERMHOOKS_INLINE void | 608 | INLINE void |
| 616 | tset_charset_list (struct terminal *t, Lisp_Object val) | 609 | tset_charset_list (struct terminal *t, Lisp_Object val) |
| 617 | { | 610 | { |
| 618 | t->charset_list = val; | 611 | t->charset_list = val; |
| 619 | } | 612 | } |
| 620 | TERMHOOKS_INLINE void | 613 | INLINE void |
| 621 | tset_selection_alist (struct terminal *t, Lisp_Object val) | 614 | tset_selection_alist (struct terminal *t, Lisp_Object val) |
| 622 | { | 615 | { |
| 623 | t->Vselection_alist = val; | 616 | t->Vselection_alist = val; |