all repos — openbox @ 11dd7db8768be3cbd9553ff57b962da97d5994ad

openbox fork - make it a bit more like ryudo

make the frame before you use the frame..
Dana Jansens danakj@orodu.net
commit

11dd7db8768be3cbd9553ff57b962da97d5994ad

parent

083a7565c7d7c5cf28d0f91b6c28a893429a7e83

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -506,11 +506,10 @@ uses too */

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; }