aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 9c4f569c..e62dd638 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -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;
}