From 9860b76c50e5ecacc85921539058eab4c655c38d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Dec 2002 01:04:31 +0000 Subject: unmap works.. once --- src/frame.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/frame.cc') diff --git a/src/frame.cc b/src/frame.cc index 725a4306..6107d779 100644 --- a/src/frame.cc +++ b/src/frame.cc @@ -354,16 +354,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()); -- cgit v1.2.3