mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-19 06:59:48 -05:00
backend: stop calling wl_display_terminate()
Leave it up to the compositor to decide what to do when a backend becomes unavailable.
This commit is contained in:
parent
4ad6e6c298
commit
3cc4374542
4 changed files with 6 additions and 6 deletions
|
|
@ -1790,7 +1790,7 @@ int handle_drm_event(int fd, uint32_t mask, void *data) {
|
|||
|
||||
if (drmHandleEvent(fd, &event) != 0) {
|
||||
wlr_log(WLR_ERROR, "drmHandleEvent failed");
|
||||
wl_display_terminate(drm->display);
|
||||
wlr_backend_destroy(&drm->backend);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue