summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTORRI Vincent <torri@doursse.(none)>2006-05-01 23:21:00 +0200
committerTORRI Vincent <torri@doursse.(none)>2006-05-01 23:21:00 +0200
commit2120cf1d6ee5e27a3d5b6c686d5fb7c55474a63f (patch)
tree59f03068805eaf850a2f4eeaff05b7b0ea3e1a0d
parent8780e472c31cda548969aff2174b0b5512842534 (diff)
Use XCBDisconnect when exiting the program
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 205511b..110ac19 100644
--- a/main.c
+++ b/main.c
@@ -211,7 +211,7 @@ int main(int argc, char **argv)
#else
wait_events(c);
#endif
-
+ XCBDisconnect(c);
exit(0);
/*NOTREACHED*/
}