diff options
author | Jim Blandy <jimb@redhat.com> | 1991-07-19 16:05:34 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1991-07-19 16:05:34 +0000 |
commit | 1b1362aae68acf966f7fd1bb72e2c1b9f57cd2c1 (patch) | |
tree | 00df0a44dbecdf357c083c9b95749bc6f6711371 /src/termhooks.h | |
parent | 1e3bf3aace00aa0bb5aa33fc69447d8e40eea07c (diff) | |
download | emacs-1b1362aae68acf966f7fd1bb72e2c1b9f57cd2c1.tar.gz |
*** empty log message ***
Diffstat (limited to 'src/termhooks.h')
-rw-r--r-- | src/termhooks.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index aff95c7548d..bb6f29ce471 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -63,6 +63,13 @@ extern int (*read_socket_hook) (); button releases. */ extern int (*mouse_tracking_enable_hook) ( /* int ENABLE */ ); +/* When reading from a minibuffer in a different screen, Emacs wants + to shift the highlight from the selected screen to the minibuffer's + screen; under X, this means it lies about where the focus is. + This hook tells the window system code to re-decide where to put + the highlight. */ +extern void (*screen_rehighlight_hook) ( /* SCREEN_PTR s */ ); + /* If nonzero, send all terminal output characters to this stream also. */ extern FILE *termscript; @@ -83,9 +90,13 @@ struct input_event { enum { no_event, /* nothing happened. This should never actually appear in the event queue. */ - ascii_keystroke, /* The ASCII code is in .code. Note that - this includes meta-keys, and the modifiers - field of the event is unused. */ + ascii_keystroke, /* The ASCII code is in .code. + .screen is the screen in which the key + was typed. + Note that this includes meta-keys, and + the modifiers field of the event + is unused. */ + non_ascii_keystroke, /* .code is a number identifying the function key. A code N represents a key whose name is @@ -93,7 +104,9 @@ struct input_event { is a table in keyboard.c to which you should feel free to add missing keys. .modifiers holds the state of the - modifier keys. */ + modifier keys. + .screen is the screen in which the key + was typed. */ mouse_click, /* The button number is in .code. .modifiers holds the state of the modifier keys. @@ -118,10 +131,12 @@ struct input_event { should apply to. .timestamp gives a timestamp (in milliseconds) for the click. */ +#if 0 screen_selected, /* The user has moved the focus to another screen. .screen is the screen that should become selected at the next convenient time. */ +#endif } kind; Lisp_Object code; |