projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a132968
)
dont move frame if not frame exists while mapping
author
Dana Jansens
<danakj@orodu.net>
Tue, 7 Jan 2003 07:05:39 +0000
(07:05 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 7 Jan 2003 07:05:39 +0000
(07:05 +0000)
src/client.cc
patch
|
blob
|
history
diff --git
a/src/client.cc
b/src/client.cc
index 70673c50ce53ab1884ed88db2cbd3bbc34fab1dd..320fe4d76810524e15cfbc0e9ba95f6fd6b05298 100644
(file)
--- 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();
}