aboutsummaryrefslogtreecommitdiff
path: root/sway/server.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-17 23:15:11 +0100
committeremersion <contact@emersion.fr>2018-04-17 23:15:11 +0100
commit711445160769bcde392517522ee10e10e6282530 (patch)
tree425afed03d8d2624e612bad3490e50cd42be359a /sway/server.c
parentdbc36935ee857375669e7ab3d0f20f1b5b098d23 (diff)
Destroy display in server_fini
Diffstat (limited to 'sway/server.c')
-rw-r--r--sway/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/server.c b/sway/server.c
index c1125f14..11cb95c0 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -125,7 +125,8 @@ bool server_init(struct sway_server *server) {
}
void server_fini(struct sway_server *server) {
- // TODO
+ // TODO: free sway-specific resources
+ wl_display_destroy(server->wl_display);
}
void server_run(struct sway_server *server) {