summaryrefslogtreecommitdiff
path: root/clients/window.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-02-28 14:29:19 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-02-28 14:34:54 -0500
commitfcfc83f6ae4867b26799ae498d355281bad6bb1b (patch)
treec6d893ead823e22561659ed6f46e4b0d67d0c339 /clients/window.c
parent90fbbd74ccd24e4a9e36303e32ca54c8e1cb87f0 (diff)
clients: Use wl_display_disconnect()
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);
}