Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
added Acroread.* and MPlayer.* to config.arg.h rules
[dwm.git]
/
main.c
diff --git
a/main.c
b/main.c
index
0e94e2c
..
33a2a9a
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-4,7
+4,6
@@
*/
#include "dwm.h"
*/
#include "dwm.h"
-
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
@@
-15,7
+14,6
@@
#include <X11/Xatom.h>
#include <X11/Xproto.h>
#include <X11/Xatom.h>
#include <X11/Xproto.h>
-
/* static */
static int (*xerrorxlib)(Display *, XErrorEvent *);
/* static */
static int (*xerrorxlib)(Display *, XErrorEvent *);
@@
-111,7
+109,7
@@
getproto(Window w)
}
for(i = 0; i < res; i++) {
if(protocols[i] == wmatom[WMDelete])
}
for(i = 0; i < res; i++) {
if(protocols[i] == wmatom[WMDelete])
- protos |=
WM_PROTOCOL_
DELWIN;
+ protos |=
PROTO
DELWIN;
}
free((char *) protocols);
return protos;
}
free((char *) protocols);
return protos;