// reparented back to root automatically
XChangeSaveSet(**otk::display, window, SetModeInsert);
+ // create the decoration frame for the client window
+ client->frame = new Frame(client, &_style);
+
if (!(openbox->state() == Openbox::State_Starting ||
client->positionRequested())) {
// position the window intelligenty .. hopefully :)
openbox->bindings()->fireEvent(&data);
}
- // create the decoration frame for the client window
- client->frame = new Frame(client, &_style);
-
// add to the wm's map
openbox->addClient(client->frame->window(), client);
openbox->addClient(client->frame->plate(), client);