Wmfs: Replace raise(SIGTERM) by quit() in main()
This commit is contained in:
parent
4380d64da1
commit
6d224f93d0
@ -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*
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user