From: Dana Jansens Date: Thu, 10 May 2007 05:25:34 +0000 (+0000) Subject: make the frame before you use the frame.. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=11dd7db8768be3cbd9553ff57b962da97d5994ad;p=chaz%2Fopenbox make the frame before you use the frame.. --- diff --git a/openbox/client.c b/openbox/client.c index 719f46a1..d8a28a24 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -506,11 +506,10 @@ ObClient *client_fake_manage(Window window) settings = client_get_settings_state(self); client_setup_decor_and_functions(self); - /* adjust the decorations so we know the sizes */ - frame_adjust_area(self->frame, FALSE, TRUE, TRUE); - /* create the decoration frame for the client window */ + /* create the decoration frame for the client window and adjust its size */ self->frame = frame_new(self); + frame_adjust_area(self->frame, FALSE, TRUE, TRUE); return self; }