summaryrefslogtreecommitdiff
path: root/clients/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/window.c')
-rw-r--r--clients/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/window.c b/clients/window.c
index c8c6ebe..04692c0 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -3069,7 +3069,7 @@ display_destroy(struct display *display)
close(display->epoll_fd);
wl_display_flush(display->display);
- wl_display_destroy(display->display);
+ wl_display_disconnect(display->display);
free(display);
}