X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fframe.cc;h=339aa68b03017bd734fbd7ca54eb3647303b512a;hb=56d7b547ae156e17c8e03ada3b80468f5a0b2605;hp=725a430614d1e7979266fa643de71a2758989c2e;hpb=1fa445c88033e564a25d907a7f478e76bff9e89e;p=chaz%2Fopenbox diff --git a/src/frame.cc b/src/frame.cc index 725a4306..339aa68b 100644 --- a/src/frame.cc +++ b/src/frame.cc @@ -51,6 +51,9 @@ OBFrame::OBFrame(OBClient *client, otk::Style *style) _grip_right.unmanaged(); _plate.unmanaged(); + _grip_left.setCursor(Openbox::instance->cursors().ll_angle); + _grip_right.setCursor(Openbox::instance->cursors().lr_angle); + _plate.show(); _button_close.setText("X"); @@ -354,16 +357,15 @@ void OBFrame::adjustShape() void OBFrame::grabClient() { - // select the event mask on the frame - //XSelectInput(otk::OBDisplay::display, _window, SubstructureRedirectMask); - // reparent the client to the frame XReparentWindow(otk::OBDisplay::display, _client->window(), _plate.getWindow(), 0, 0); _client->ignore_unmaps++; - // raise the client above the frame - //XRaiseWindow(otk::OBDisplay::display, _client->window()); + // select the event mask on the client's parent + //XSelectInput(otk::OBDisplay::display, _plate.getWindow(), + // SubstructureRedirectMask); + // map the client so it maps when the frame does XMapWindow(otk::OBDisplay::display, _client->window());