summaryrefslogtreecommitdiff
path: root/openbox/frame.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-01 05:21:09 +0000
committerDana Jansens <danakj@orodu.net>2007-06-01 05:21:09 +0000
commitaf42ac2a535d3625e689c3e60bc525f8a455fcd6 (patch)
tree92c7da2193f125031d29d836f66b57950685ac14 /openbox/frame.c
parent32b64b6cf5876364c891b97bd5227cc53aeac17b (diff)
less configure events on mapping
Diffstat (limited to 'openbox/frame.c')
-rw-r--r--openbox/frame.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index a8391e48..89358ac2 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -764,6 +764,11 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
self->area.width,
self->area.height);
+ /* when the client has StaticGravity, it likes to move around.
+ also this correctly positions the client when it maps */
+ XMoveWindow(ob_display, self->client->window,
+ self->size.left, self->size.top);
+
if (resized) {
framerender_frame(self);
frame_adjust_shape(self);