diff options
author | sabetts <sabetts> | 2001-04-12 16:45:42 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-04-12 16:45:42 +0000 |
commit | 856546029dc60070dbc3e05b6621247d1bae7b28 (patch) | |
tree | 2be6cc3ccbd3ab6ac0eaf47f1c32ec8382ef473b | |
parent | 4e17390073590b1d8f6c0b293eaec8ede8d253fb (diff) | |
download | ratpoison-856546029dc60070dbc3e05b6621247d1bae7b28.zip |
* src/main.c (main): calls XCloseDisplay before exitting after
sending a kill, restart, or command message.
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -390,21 +390,21 @@ main (int argc, char *argv[]) { send_kill (); XSync (dpy, False); - clean_up (); + XCloseDisplay (dpy); return EXIT_SUCCESS; } if (do_restart) { send_restart (); XSync (dpy, False); - clean_up (); + XCloseDisplay (dpy); return EXIT_SUCCESS; } if (do_command) { send_command (command); free (command); - clean_up(); + XCloseDisplay (dpy); return EXIT_SUCCESS; } |