Use XCBDisconnect when exiting the program
authorTORRI Vincent <torri@doursse.(none)>
Mon, 1 May 2006 21:21:00 +0000 (23:21 +0200)
committerTORRI Vincent <torri@doursse.(none)>
Mon, 1 May 2006 21:21:00 +0000 (23:21 +0200)
main.c

diff --git a/main.c b/main.c
index 205511b..110ac19 100644 (file)
--- 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*/
 }