From: Dana Jansens Date: Thu, 5 Apr 2007 04:00:02 +0000 (+0000) Subject: merge r5730 from trunk X-Git-Tag: openbox-3_3_991-RELEASE~256 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=bc18bf6779ba8677110819a83438161049ec3fc5;p=dana%2Fopenbox.git merge r5730 from trunk --- diff --git a/openbox/client.c b/openbox/client.c index 80bc8a39..eb00e6d6 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2134,8 +2134,12 @@ static void client_apply_startup_state(ObClient *self, gint x, gint y) pos = TRUE; } - /* if the client didn't get positioned yet, then do so now */ - if (!pos && (ox != x || oy != y)) { + /* if the client didn't get positioned yet, then do so now + call client_move even if the window is not being moved anywhere, because + when we reparent it and decorate it, it is getting moved and we need to + be telling it so with a ConfigureNotify event. + */ + if (!pos) { /* use the saved position */ self->area.x = ox; self->area.y = oy;