X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=main.c;h=33a2a9a0227a36fb922159a8764ed3995a3742f2;hb=f80688f1c79ae813965c7c9cac35931a07c4cc90;hp=0e94e2c1d0a9c38b84cd5b7ba757829d83f59531;hpb=a73a88280681acdab047bd11a9ba77d97d6a0b72;p=dwm.git 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;