diff --git a/src/commands.c b/src/commands.c index 6f0d0c5e..f30d6612 100644 --- a/src/commands.c +++ b/src/commands.c @@ -1410,6 +1410,7 @@ void cmd_layout(I3_CMD, char *layout_str) { */ void cmd_exit(I3_CMD) { LOG("Exiting due to user command.\n"); + xcb_disconnect(conn); exit(0); /* unreached */