From 11dd7db8768be3cbd9553ff57b962da97d5994ad Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 May 2007 05:25:34 +0000 Subject: [PATCH] make the frame before you use the frame.. --- openbox/client.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } -- 2.45.2