From: Dana Jansens Date: Tue, 7 Jan 2003 07:05:39 +0000 (+0000) Subject: dont move frame if not frame exists while mapping X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=13f1f39f013b00425310859aa7fbe0f779c0f168;p=chaz%2Fopenbox dont move frame if not frame exists while mapping --- diff --git a/src/client.cc b/src/client.cc index 70673c50..320fe4d7 100644 --- a/src/client.cc +++ b/src/client.cc @@ -997,7 +997,8 @@ void OBClient::move(int x, int y) _area.setPos(x, y); // move the frame to be in the requested position - frame->adjustPosition(); + if (frame) // this can be called while mapping, before frame exists + frame->adjustPosition(); }