X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/a73a88280681acdab047bd11a9ba77d97d6a0b72..85e6d5995663a48d402b96bebf00b319cca5d322:/main.c diff --git a/main.c b/main.c index 0e94e2c..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 *); @@ -111,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;