1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

Trivial cleanup

This commit is contained in:
Carlos R. Mafra
2009-08-08 23:37:27 +02:00
parent 0c469de04f
commit 6b08fc9e78

View File

@@ -965,7 +965,9 @@ handlePropertyNotify(XEvent *event)
#ifdef DEBUG #ifdef DEBUG
printf("got property notify\n"); printf("got property notify\n");
#endif #endif
if ((wwin=wWindowFor(event->xproperty.window))) {
wwin = wWindowFor(event->xproperty.window);
if (wwin) {
if (!XGetGeometry(dpy, wwin->client_win, &jr, &ji, &ji, if (!XGetGeometry(dpy, wwin->client_win, &jr, &ji, &ji,
&ju, &ju, &ju, &ju)) { &ju, &ju, &ju, &ju)) {
return; return;