dont move frame if not frame exists while mapping
This commit is contained in:
parent
a132968424
commit
13f1f39f01
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue