Main: Fix --info option

This commit is contained in:
Martin Duquesnoy 2009-03-21 15:22:56 +01:00
parent 5d2a43fd1c
commit 17d063fe47
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,13 @@
/*
* screen.c
* Copyright © 2008 Martin Duquesnoy <xorg62@gmail.com>

View File

@ -224,6 +224,7 @@ scan(void)
&& !(wa.override_redirect || XGetTransientForHint(dpy, w[i], &usl))
&& wa.map_state == IsViewable)
client_manage(w[i], &wa);
XFree(w);
arrange(screen_get_sel());
@ -299,9 +300,7 @@ main(int argc, char **argv)
exit(EXIT_SUCCESS);
break;
case 'i':
printf("WMFS - Window Manager From Scratch. By :\n"
" - Martin Duquesnoy (code)\n"
" - Marc Lagrange (build system)\n");
printf("WMFS - Window Manager From Scratch By Martin Duquesnoy \n");
exit(EXIT_SUCCESS);
break;
case 'v':