summaryrefslogtreecommitdiff
path: root/src/client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cc')
-rw-r--r--src/client.cc3
1 files changed, 2 insertions, 1 deletions
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();
}