X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/0464e42231199d7a6ea45e46cf7798f2b6cf972c..1d852259526e41ebaad7325ee42c118b1cc12f71:/main.c diff --git a/main.c b/main.c index dffa4ba..f09307b 100644 --- a/main.c +++ b/main.c @@ -85,9 +85,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 +111,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;