void Frame::grabClient()
{
// reparent the client to the frame
- XReparentWindow(**otk::display, _client->window(),
- _plate.window(), 0, 0);
+ XReparentWindow(**otk::display, _client->window(), _plate.window(), 0, 0);
/*
When reparenting the client window, it is usually not mapped yet, since
this occurs from a MapRequest. However, in the case where Openbox is
if (openbox->state() == Openbox::State_Starting)
_client->ignore_unmaps += 2;
- // select the event mask on the client's parent (to receive config req's)
- XSelectInput(**otk::display, _plate.window(),
- SubstructureRedirectMask);
+ // select the event mask on the client's parent (to receive config/map req's)
+ XSelectInput(**otk::display, _plate.window(), SubstructureRedirectMask);
// map the client so it maps when the frame does
XMapWindow(**otk::display, _client->window());