summaryrefslogtreecommitdiff
path: root/src/client.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-27 10:07:57 +0000
committerDana Jansens <danakj@orodu.net>2002-12-27 10:07:57 +0000
commit5fdd493d0d2255f134114e69f028371366f4dfd3 (patch)
tree661a83f7b9369d95d29ed2bb88e4ce6d621a36d0 /src/client.cc
parent8bae1352cb401b71575106051a35a9535db1a7cd (diff)
buttons have their pixmaps!
Diffstat (limited to 'src/client.cc')
-rw-r--r--src/client.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.cc b/src/client.cc
index 243390a8..e626081c 100644
--- a/src/client.cc
+++ b/src/client.cc
@@ -1009,15 +1009,15 @@ void OBClient::destroyHandler(const XDestroyWindowEvent &e)
void OBClient::reparentHandler(const XReparentEvent &e)
{
+ // this is when the client is first taken captive in the frame
+ if (e.parent == frame->plate()) return;
+
#ifdef DEBUG
printf("ReparentNotify for 0x%lx\n", e.window);
#endif // DEBUG
OtkEventHandler::reparentHandler(e);
- // this is when the client is first taken captive in the frame
- if (e.parent == frame->plate()) return;
-
/*
This event is quite rare and is usually handled in unmapHandler.
However, if the window is unmapped when the reparent event occurs,