diff --git a/client.cpp b/client.cpp index c067a6dac0..9780674786 100644 --- a/client.cpp +++ b/client.cpp @@ -998,7 +998,7 @@ void Client::setShade(ShadeMode mode) else shade_below = NULL; } - XMapWindow(display(), wrapperId()); + m_wrapper.map(); m_client.map(); exportMappingState(NormalState); if (isActive())