summaryrefslogtreecommitdiff
path: root/app/wm2/Main.C
blob: b226c512d96da1ecb79855162bf1405cbbd88ca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#include "Manager.h"

#include "Client.h"
#include "Border.h"

int main(int argc, char **argv)
{
    int i;
    
    if (argc > 1) {
	for (i = strlen(argv[0])-1; i > 0 && argv[0][i] != '/'; --i);
	fprintf(stderr, "usage: %s\n", argv[0] + (i > 0) + i);
	exit(2);
    }
    
    WindowManager manager;
    return 0;
}