diff options
| author | Devin J. Pohly <djpohly@gmail.com> | |
|---|---|---|
| 2020-07-23 17:36:20 -0400 | ||
| committer | Devin J. Pohly <djpohly@gmail.com> | |
| 2020-07-23 17:36:20 -0400 | ||
| commit | 5ca1e22feff3bbe693d1ba9b1299d8bfeb0d933b (patch) | |
| tree | 8f7f76afe61d9343b55e5cfa734c7e373e8fde6c /dwl.c | |
| parent | 8b13e42d3f0e1ee4e74ae1b186987bb7fd810404 (diff) | |
| download | dwl-5ca1e22feff3bbe693d1ba9b1299d8bfeb0d933b.tar.gz dwl-5ca1e22feff3bbe693d1ba9b1299d8bfeb0d933b.tar.bz2 dwl-5ca1e22feff3bbe693d1ba9b1299d8bfeb0d933b.zip | |
reorder teardowns
@@ -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: |