]> git.eshelyaron.com Git - emacs.git/commit
Make interrupt input optionally work on PGTK
authorPo Lu <luangruo@yahoo.com>
Tue, 30 Nov 2021 01:34:24 +0000 (09:34 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 30 Nov 2021 01:34:24 +0000 (09:34 +0800)
commitb3277883f35c5ac9980b4ef05dc99fa8b5ce6792
tree17994378afbe7b14ccb49cfd2cebadf7f173b9a6
parentd15dafeefb58fc521186385a1a703f7f660f2f6b
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.
src/pgtkterm.c
src/pgtkterm.h