X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=main.c;h=33a2a9a0227a36fb922159a8764ed3995a3742f2;hb=0f8249f2629543c66ffa7b684a772fda08250a5d;hp=dffa4bafebc4430df0da7d7ae90301d1b577e249;hpb=0464e42231199d7a6ea45e46cf7798f2b6cf972c;p=dwm.git diff --git a/main.c b/main.c index dffa4ba..33a2a9a 100644 --- a/main.c +++ b/main.c @@ -4,7 +4,6 @@ */ #include "dwm.h" - #include #include #include @@ -15,7 +14,6 @@ #include #include - /* static */ static int (*xerrorxlib)(Display *, XErrorEvent *); @@ -85,9 +83,7 @@ xerrorstart(Display *dsply, XErrorEvent *ee) /* extern */ char stext[1024]; -/* CUSTOMIZE */ -int tsel = Tdev; /* default tag */ -/* END CUSTOMIZE */ +int tsel = DEFTAG; int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; Atom wmatom[WMLast], netatom[NetLast]; Bool running = True; @@ -113,7 +109,7 @@ getproto(Window w) } for(i = 0; i < res; i++) { if(protocols[i] == wmatom[WMDelete]) - protos |= WM_PROTOCOL_DELWIN; + protos |= PROTODELWIN; } free((char *) protocols); return protos;