summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-05-08 08:52:34 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-05-08 08:52:34 +0200
commit216099d072e98a830ac8689077faad469388fdad (patch)
treee4094a2594b4014bf9320e8a6bfe4c8dc567241d /event.c
parentnext version is 4.1 (diff)
downloaddwm-216099d072e98a830ac8689077faad469388fdad.tar.gz
dwm-216099d072e98a830ac8689077faad469388fdad.zip
thanks to Juka to check -Wall ;)
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/event.c b/event.c
index c89850a..db0d482 100644
--- a/event.c
+++ b/event.c
@@ -209,9 +209,7 @@ configurerequest(XEvent *e) {
209 209
210static void 210static void
211configurenotify(XEvent *e) { 211configurenotify(XEvent *e) {
212 Client *c;
213 XConfigureEvent *ev = &e->xconfigure; 212 XConfigureEvent *ev = &e->xconfigure;
214 XWindowChanges wc;
215 213
216 if (ev->window == root && (ev->width != sw || ev->height != sh)) { 214 if (ev->window == root && (ev->width != sw || ev->height != sh)) {
217 sw = ev->width; 215 sw = ev->width;