]> Dogcows Code - chaz/openbox/commitdiff
make the frame before you use the frame..
authorDana Jansens <danakj@orodu.net>
Thu, 10 May 2007 05:25:34 +0000 (05:25 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 10 May 2007 05:25:34 +0000 (05:25 +0000)
openbox/client.c

index 719f46a155a7f08387ba5ba8c2e189c8dc08a4f2..d8a28a240252c271bdb9345f741d7e5646d62b70 100644 (file)
@@ -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;
 }
 
This page took 0.030503 seconds and 4 git commands to generate.