From 5fdd493d0d2255f134114e69f028371366f4dfd3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 27 Dec 2002 10:07:57 +0000 Subject: buttons have their pixmaps! --- src/client.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client.cc') 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, -- cgit v1.2.3