mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
commit
7db8e06f55
2 changed files with 11 additions and 1 deletions
|
|
@ -48,6 +48,8 @@
|
||||||
* Crash in scrollback search mode when selection has been canceled due
|
* Crash in scrollback search mode when selection has been canceled due
|
||||||
to terminal content updates
|
to terminal content updates
|
||||||
(https://codeberg.org/dnkl/foot/issues/644).
|
(https://codeberg.org/dnkl/foot/issues/644).
|
||||||
|
* Foot process not terminating when the Wayland connection is broken
|
||||||
|
(https://codeberg.org/dnkl/foot/issues/651).
|
||||||
|
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
|
||||||
10
wayland.c
10
wayland.c
|
|
@ -1163,7 +1163,15 @@ fdm_wayl(struct fdm *fdm, int fd, int events, void *data)
|
||||||
|
|
||||||
if (events & EPOLLHUP) {
|
if (events & EPOLLHUP) {
|
||||||
LOG_WARN("disconnected from Wayland");
|
LOG_WARN("disconnected from Wayland");
|
||||||
wl_display_cancel_read(wayl->display);
|
/*
|
||||||
|
* Do *not* call wl_display_cancel_read() here.
|
||||||
|
*
|
||||||
|
* Doing so causes later calls to wayl_roundtrip() (called
|
||||||
|
* from term_destroy() -> wayl_win_destroy()) to hang
|
||||||
|
* indefinitely.
|
||||||
|
*
|
||||||
|
* https://codeberg.org/dnkl/foot/issues/651
|
||||||
|
*/
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue