diff options
| author | Jim Blandy | 1992-07-13 20:56:17 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-07-13 20:56:17 +0000 |
| commit | 0137dbf747e9fcbfe6f37c7fb0bbb29012a27179 (patch) | |
| tree | 658380474eae580fc6b03b724e6498d9cf0b783f /src/termhooks.h | |
| parent | ff11dfa15b3b56559bac0d5c6b0a26a80d2d5f6d (diff) | |
| download | emacs-0137dbf747e9fcbfe6f37c7fb0bbb29012a27179.tar.gz emacs-0137dbf747e9fcbfe6f37c7fb0bbb29012a27179.zip | |
entered into RCS
Diffstat (limited to 'src/termhooks.h')
| -rw-r--r-- | src/termhooks.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index 5b5cac7315e..83df0203f01 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -23,7 +23,7 @@ extern int (*cursor_to_hook) (); | |||
| 23 | extern int (*raw_cursor_to_hook) (); | 23 | extern int (*raw_cursor_to_hook) (); |
| 24 | 24 | ||
| 25 | extern int (*clear_to_end_hook) (); | 25 | extern int (*clear_to_end_hook) (); |
| 26 | extern int (*clear_screen_hook) (); | 26 | extern int (*clear_frame_hook) (); |
| 27 | extern int (*clear_end_of_line_hook) (); | 27 | extern int (*clear_end_of_line_hook) (); |
| 28 | 28 | ||
| 29 | extern int (*ins_del_lines_hook) (); | 29 | extern int (*ins_del_lines_hook) (); |
| @@ -47,7 +47,7 @@ extern int (*read_socket_hook) (); | |||
| 47 | 47 | ||
| 48 | /* Return the current position of the mouse. This should clear | 48 | /* Return the current position of the mouse. This should clear |
| 49 | mouse_moved until the next motion event arrives. */ | 49 | mouse_moved until the next motion event arrives. */ |
| 50 | extern void (*mouse_position_hook) ( /* SCREEN_PTR *s, | 50 | extern void (*mouse_position_hook) ( /* FRAME_PTR *f, |
| 51 | Lisp_Object *x, | 51 | Lisp_Object *x, |
| 52 | Lisp_Object *y, | 52 | Lisp_Object *y, |
| 53 | unsigned long *time */ ); | 53 | unsigned long *time */ ); |
| @@ -57,10 +57,10 @@ extern void (*mouse_position_hook) ( /* SCREEN_PTR *s, | |||
| 57 | hook should clear this. */ | 57 | hook should clear this. */ |
| 58 | extern int mouse_moved; | 58 | extern int mouse_moved; |
| 59 | 59 | ||
| 60 | /* When a screen's focus redirection is changed, this hook tells the | 60 | /* When a frame's focus redirection is changed, this hook tells the |
| 61 | window system code to re-decide where to put the highlight. Under | 61 | window system code to re-decide where to put the highlight. Under |
| 62 | X, this means that Emacs lies about where the focus is. */ | 62 | X, this means that Emacs lies about where the focus is. */ |
| 63 | extern void (*screen_rehighlight_hook) ( /* void */ ); | 63 | extern void (*frame_rehighlight_hook) ( /* void */ ); |
| 64 | 64 | ||
| 65 | /* If nonzero, send all terminal output characters to this stream also. */ | 65 | /* If nonzero, send all terminal output characters to this stream also. */ |
| 66 | extern FILE *termscript; | 66 | extern FILE *termscript; |
| @@ -82,7 +82,7 @@ struct input_event { | |||
| 82 | no_event, /* nothing happened. This should never | 82 | no_event, /* nothing happened. This should never |
| 83 | actually appear in the event queue. */ | 83 | actually appear in the event queue. */ |
| 84 | ascii_keystroke, /* The ASCII code is in .code. | 84 | ascii_keystroke, /* The ASCII code is in .code. |
| 85 | .screen is the screen in which the key | 85 | .frame is the frame in which the key |
| 86 | was typed. | 86 | was typed. |
| 87 | Note that this includes meta-keys, and | 87 | Note that this includes meta-keys, and |
| 88 | the modifiers field of the event | 88 | the modifiers field of the event |
| @@ -97,7 +97,7 @@ struct input_event { | |||
| 97 | should feel free to add missing keys. | 97 | should feel free to add missing keys. |
| 98 | .modifiers holds the state of the | 98 | .modifiers holds the state of the |
| 99 | modifier keys. | 99 | modifier keys. |
| 100 | .screen is the screen in which the key | 100 | .frame is the frame in which the key |
| 101 | was typed. | 101 | was typed. |
| 102 | .timestamp gives a timestamp (in | 102 | .timestamp gives a timestamp (in |
| 103 | milliseconds) for the keystroke. */ | 103 | milliseconds) for the keystroke. */ |
| @@ -106,7 +106,7 @@ struct input_event { | |||
| 106 | modifier keys. | 106 | modifier keys. |
| 107 | .x and .y give the mouse position, | 107 | .x and .y give the mouse position, |
| 108 | in characters, within the window. | 108 | in characters, within the window. |
| 109 | .screen gives the screen the mouse | 109 | .frame gives the frame the mouse |
| 110 | click occurred in. | 110 | click occurred in. |
| 111 | .timestamp gives a timestamp (in | 111 | .timestamp gives a timestamp (in |
| 112 | milliseconds) for the click. */ | 112 | milliseconds) for the click. */ |
| @@ -121,14 +121,14 @@ struct input_event { | |||
| 121 | .x gives the distance from the start | 121 | .x gives the distance from the start |
| 122 | of the scroll bar of the click; .y gives | 122 | of the scroll bar of the click; .y gives |
| 123 | the total length of the scroll bar. | 123 | the total length of the scroll bar. |
| 124 | .screen gives the screen the click | 124 | .frame gives the frame the click |
| 125 | should apply to. | 125 | should apply to. |
| 126 | .timestamp gives a timestamp (in | 126 | .timestamp gives a timestamp (in |
| 127 | milliseconds) for the click. */ | 127 | milliseconds) for the click. */ |
| 128 | #if 0 | 128 | #if 0 |
| 129 | screen_selected, /* The user has moved the focus to another | 129 | frame_selected, /* The user has moved the focus to another |
| 130 | screen. | 130 | frame. |
| 131 | .screen is the screen that should become | 131 | .frame is the frame that should become |
| 132 | selected at the next convenient time. */ | 132 | selected at the next convenient time. */ |
| 133 | #endif | 133 | #endif |
| 134 | } kind; | 134 | } kind; |
| @@ -137,15 +137,15 @@ struct input_event { | |||
| 137 | Lisp_Object part; | 137 | Lisp_Object part; |
| 138 | 138 | ||
| 139 | /* This is obviously wrong, but I'm not sure what else I should do. | 139 | /* This is obviously wrong, but I'm not sure what else I should do. |
| 140 | Obviously, this should be a SCREEN_PTR. But that would require that | 140 | Obviously, this should be a FRAME_PTR. But that would require that |
| 141 | every file which #includes this one should also #include "screen.h", | 141 | every file which #includes this one should also #include "frame.h", |
| 142 | which would mean that files like cm.c and other innocents would be | 142 | which would mean that files like cm.c and other innocents would be |
| 143 | dragged into the set of screen.h users. Maybe the definition of this | 143 | dragged into the set of frame.h users. Maybe the definition of this |
| 144 | structure should be elsewhere? In its own file? */ | 144 | structure should be elsewhere? In its own file? */ |
| 145 | #ifdef MULTI_SCREEN | 145 | #ifdef MULTI_FRAME |
| 146 | struct screen *screen; | 146 | struct frame *frame; |
| 147 | #else | 147 | #else |
| 148 | int screen; | 148 | int frame; |
| 149 | #endif | 149 | #endif |
| 150 | int modifiers; /* See enum below for interpretation. */ | 150 | int modifiers; /* See enum below for interpretation. */ |
| 151 | 151 | ||