Wmfs: Replace raise(SIGTERM) by quit() in main()

This commit is contained in:
Martin Duquesnoy 2009-04-23 20:20:51 +02:00
parent 4380d64da1
commit 6d224f93d0
2 changed files with 3 additions and 2 deletions

View File

@ -402,6 +402,7 @@ client_map(Client *c)
/** Manage a client with a window and his attributes
* \param w Cient's futur Window
* \param wa XWindowAttributes pointer, Window w attributes
* \param ar Do arrange() or not (Bool)
* \return The managed client
*/
Client*

View File

@ -245,7 +245,7 @@ uicb_reload(uicb_t cmd)
quit();
XCloseDisplay(dpy);
for(; argv_global[0] && argv_global[0] == ' '; argv_global++);
for(; argv_global[0] && argv_global[0] == ' '; ++argv_global);
execlp(argv_global, argv_global, NULL);
@ -451,7 +451,7 @@ main(int argc, char **argv)
init();
scan();
mainloop();
raise(SIGTERM);
quit();
XCloseDisplay(dpy);