Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
removed an unused var
[dwm.git]
/
event.c
diff --git
a/event.c
b/event.c
index
50c59a0
..
76f3602
100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-1,4
+1,3
@@
-#include <stdio.h>
/*
* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
/*
* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
@@
-151,10
+150,8
@@
configurerequest(XEvent *e) {
unsigned long newmask;
Client *c;
XConfigureRequestEvent *ev = &e->xconfigurerequest;
unsigned long newmask;
Client *c;
XConfigureRequestEvent *ev = &e->xconfigurerequest;
- XEvent synev;
XWindowChanges wc;
XWindowChanges wc;
- fputs("configurerequest\n", stderr);
if((c = getclient(ev->window))) {
c->ismax = False;
gravitate(c, True);
if((c = getclient(ev->window))) {
c->ismax = False;
gravitate(c, True);
@@
-211,7
+208,6
@@
enternotify(XEvent *e) {
Client *c;
XCrossingEvent *ev = &e->xcrossing;
Client *c;
XCrossingEvent *ev = &e->xcrossing;
- fputs("enternotify\n", stderr);
if(ev->mode != NotifyNormal || ev->detail == NotifyInferior)
return;
if(ev->mode != NotifyNormal || ev->detail == NotifyInferior)
return;
@@
-299,7
+295,6
@@
propertynotify(XEvent *e) {
Window trans;
XPropertyEvent *ev = &e->xproperty;
Window trans;
XPropertyEvent *ev = &e->xproperty;
- fputs("propertynotify\n", stderr);
if(ev->state == PropertyDelete)
return; /* ignore */
if(ev->state == PropertyDelete)
return; /* ignore */