|
@ -2137,6 +2137,10 @@ main(int argc, char *argv[]) |
|
|
die("dwm: cannot open display"); |
|
|
die("dwm: cannot open display"); |
|
|
checkotherwm(); |
|
|
checkotherwm(); |
|
|
setup(); |
|
|
setup(); |
|
|
|
|
|
#ifdef __OpenBSD__ |
|
|
|
|
|
if (pledge("stdio proc exec", NULL) == -1) |
|
|
|
|
|
die("pledge"); |
|
|
|
|
|
#endif /* __OpenBSD__ */ |
|
|
scan(); |
|
|
scan(); |
|
|
run(); |
|
|
run(); |
|
|
cleanup(); |
|
|
cleanup(); |
|
|