]> Dogcows Code - chaz/openbox/commitdiff
dont move frame if not frame exists while mapping
authorDana Jansens <danakj@orodu.net>
Tue, 7 Jan 2003 07:05:39 +0000 (07:05 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 7 Jan 2003 07:05:39 +0000 (07:05 +0000)
src/client.cc

index 70673c50ce53ab1884ed88db2cbd3bbc34fab1dd..320fe4d76810524e15cfbc0e9ba95f6fd6b05298 100644 (file)
@@ -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();
 }
 
 
This page took 0.023798 seconds and 4 git commands to generate.