From 13f1f39f013b00425310859aa7fbe0f779c0f168 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 7 Jan 2003 07:05:39 +0000 Subject: [PATCH] dont move frame if not frame exists while mapping --- src/client.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } -- 2.45.2