From af42ac2a535d3625e689c3e60bc525f8a455fcd6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 1 Jun 2007 05:21:09 +0000 Subject: less configure events on mapping --- openbox/frame.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbox/frame.c') 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); -- cgit v1.2.3