diff options
author | Simon Ser <contact@emersion.fr> | 2023-10-31 20:33:03 +0100 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-25 14:58:00 +0300 |
commit | 3cc43745421efda2090e74d14b6345103ef241d4 (patch) | |
tree | 2509f2a3173c941db21270c798187a13b525098b /backend/libinput/backend.c | |
parent | 4ad6e6c2983216e91cec9987191c1099e8a108a8 (diff) |
backend: stop calling wl_display_terminate()
Leave it up to the compositor to decide what to do when a backend
becomes unavailable.
Diffstat (limited to 'backend/libinput/backend.c')
-rw-r--r-- | backend/libinput/backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c index cbdf8b72..35a86583 100644 --- a/backend/libinput/backend.c +++ b/backend/libinput/backend.c @@ -51,7 +51,7 @@ static int handle_libinput_readable(int fd, uint32_t mask, void *_backend) { int ret = libinput_dispatch(backend->libinput_context); if (ret != 0) { wlr_log(WLR_ERROR, "Failed to dispatch libinput: %s", strerror(-ret)); - wl_display_terminate(backend->display); + wlr_backend_destroy(&backend->backend); return 0; } struct libinput_event *event; |