X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=15b613524758ccce29a41d793d18eca394f451a1;hb=875ce8edf4878b4c8e9c9d024970b472bb5c137e;hp=dbe203a61f9645de377c672ff51786eeb08c7f5a;hpb=89b7311d8d8cd39d3e8a942d783f75bab2599b60;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index dbe203a6..15b61352 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2554,10 +2554,10 @@ static void client_apply_startup_state(ObClient *self, */ client_try_configure(self, &x, &y, &w, &h, &l, &l, FALSE); ob_debug("placed window 0x%x at %d, %d with size %d x %d\n", - self->window, self->area.x, self->area.y, - self->area.width, self->area.height); - oldarea = self->area; /* save the area */ - RECT_SET(self->area, x, y, w, h); /* put where it should be for the premax stuff */ + self->window, x, y, w, h); + /* save the area, and make it where it should be for the premax stuff */ + oldarea = self->area; + RECT_SET(self->area, x, y, w, h); /* apply the states. these are in a carefully crafted order.. */