X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.cc;h=20e65932273af6c37166d9b2bf134f722739e568;hb=5face4c6f35172761367f63ac0b6eaf62d84e532;hp=956e853c65a824fe3f9d003987a68217df0461b0;hpb=28b8f67562bb7eb15134f2bf7a8394f0a009b9ba;p=chaz%2Fopenbox diff --git a/src/frame.cc b/src/frame.cc index 956e853c..20e65932 100644 --- a/src/frame.cc +++ b/src/frame.cc @@ -405,8 +405,7 @@ void Frame::adjustState() 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 @@ -418,9 +417,8 @@ void Frame::grabClient() 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());