From 6b08fc9e781fc43859b9a64b7e39c1084fcc566c Mon Sep 17 00:00:00 2001 From: "Carlos R. Mafra" Date: Sat, 8 Aug 2009 23:37:27 +0200 Subject: [PATCH] Trivial cleanup --- src/event.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/event.c b/src/event.c index 7adaba95..53e36d92 100644 --- a/src/event.c +++ b/src/event.c @@ -965,7 +965,9 @@ handlePropertyNotify(XEvent *event) #ifdef DEBUG printf("got property notify\n"); #endif - if ((wwin=wWindowFor(event->xproperty.window))) { + + wwin = wWindowFor(event->xproperty.window); + if (wwin) { if (!XGetGeometry(dpy, wwin->client_win, &jr, &ji, &ji, &ju, &ju, &ju, &ju)) { return;