summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/client.c5
1 files 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;
}