summaryrefslogtreecommitdiff
path: root/src/frame.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-04 01:04:31 +0000
committerDana Jansens <danakj@orodu.net>2002-12-04 01:04:31 +0000
commit9860b76c50e5ecacc85921539058eab4c655c38d (patch)
tree5587ac2eb155a2a22997132f4552ee979b29cfbb /src/frame.cc
parent22bd294c7baed75a24b1df7cc423042c965acbdb (diff)
unmap works.. once
Diffstat (limited to 'src/frame.cc')
-rw-r--r--src/frame.cc9
1 files changed, 4 insertions, 5 deletions
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());