From 856546029dc60070dbc3e05b6621247d1bae7b28 Mon Sep 17 00:00:00 2001 From: sabetts Date: Thu, 12 Apr 2001 16:45:42 +0000 Subject: * src/main.c (main): calls XCloseDisplay before exitting after sending a kill, restart, or command message. --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 7a8c19a..a41973b 100644 --- a/src/main.c +++ b/src/main.c @@ -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; } -- cgit v1.2.3