renderers: No longer assume that input is closed if the terminal device is NULL.

This commit is contained in:
n3rdopolis 2022-11-29 08:32:37 -05:00 committed by Ray Strode
parent 605b038acb
commit 03d4e91bcd
2 changed files with 0 additions and 6 deletions

View file

@ -1847,9 +1847,6 @@ open_input_source (ply_renderer_backend_t *backend,
if (!backend->input_source_is_open)
watch_input_devices (backend);
if (backend->terminal == NULL)
return false;
if (backend->terminal != NULL) {
terminal_fd = ply_terminal_get_fd (backend->terminal);

View file

@ -752,9 +752,6 @@ open_input_source (ply_renderer_backend_t *backend,
if (!backend->input_source_is_open)
watch_input_devices (backend);
if (backend->terminal == NULL)
return false;
if (backend->terminal != NULL) {
terminal_fd = ply_terminal_get_fd (backend->terminal);