summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-07 07:05:39 +0000
committerDana Jansens <danakj@orodu.net>2003-01-07 07:05:39 +0000
commit13f1f39f013b00425310859aa7fbe0f779c0f168 (patch)
tree0cf9c7cc9a6d7ab3613e75388a04b5f42bb62f75 /src
parenta132968424c96d9dc62d144c5e863a6810c0369d (diff)
dont move frame if not frame exists while mapping
Diffstat (limited to 'src')
-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();
}