commit 5ca1e22feff3bbe693d1ba9b1299d8bfeb0d933b
parent 8b13e42d3f0e1ee4e74ae1b186987bb7fd810404
Author: Devin J. Pohly <djpohly@gmail.com>
Date: Thu, 23 Jul 2020 17:36:20 -0400
reorder teardowns
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dwl.c b/dwl.c
@@ -1653,10 +1653,12 @@ main(int argc, char *argv[])
/* Once wl_display_run returns, we shut down the server. */
wlr_xwayland_destroy(xwayland);
wl_display_destroy_clients(dpy);
- wlr_xcursor_manager_destroy(cursor_mgr);
wl_display_destroy(dpy);
+
+ wlr_xcursor_manager_destroy(cursor_mgr);
wlr_cursor_destroy(cursor);
wlr_output_layout_destroy(output_layout);
+
return EXIT_SUCCESS;
usage: