make the frame before you use the frame..

This commit is contained in:
Dana Jansens 2007-05-10 05:25:34 +00:00
parent 083a7565c7
commit 11dd7db876

View file

@ -506,11 +506,10 @@ ObClient *client_fake_manage(Window window)
settings = client_get_settings_state(self); settings = client_get_settings_state(self);
client_setup_decor_and_functions(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); self->frame = frame_new(self);
frame_adjust_area(self->frame, FALSE, TRUE, TRUE);
return self; return self;
} }