diff options
| author | Po Lu | 2021-11-30 09:34:24 +0800 |
|---|---|---|
| committer | Po Lu | 2021-11-30 09:34:24 +0800 |
| commit | b3277883f35c5ac9980b4ef05dc99fa8b5ce6792 (patch) | |
| tree | 17994378afbe7b14ccb49cfd2cebadf7f173b9a6 /src/pgtkterm.h | |
| parent | d15dafeefb58fc521186385a1a703f7f660f2f6b (diff) | |
| download | emacs-b3277883f35c5ac9980b4ef05dc99fa8b5ce6792.tar.gz emacs-b3277883f35c5ac9980b4ef05dc99fa8b5ce6792.zip | |
Make interrupt input optionally work on PGTK
* src/pgtkterm.c (pgtk_delete_terminal): Close display fd if it
exists.
(pgtk_term_init): Set up interrupt handling for display fd if
available.
* src/pgtkterm.h (struct pgtk_display_info): Add `connection'
field.
Diffstat (limited to 'src/pgtkterm.h')
| -rw-r--r-- | src/pgtkterm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pgtkterm.h b/src/pgtkterm.h index 231c8e87064..c16221da832 100644 --- a/src/pgtkterm.h +++ b/src/pgtkterm.h | |||
| @@ -238,6 +238,8 @@ struct pgtk_display_info | |||
| 238 | double acc_x, acc_y; | 238 | double acc_x, acc_y; |
| 239 | double x_per_char, y_per_line; | 239 | double x_per_char, y_per_line; |
| 240 | } scroll; | 240 | } scroll; |
| 241 | |||
| 242 | int connection; | ||
| 241 | }; | 243 | }; |
| 242 | 244 | ||
| 243 | /* This is a chain of structures for all the PGTK displays currently in use. */ | 245 | /* This is a chain of structures for all the PGTK displays currently in use. */ |