diff --git a/src/windows/menu-main-window.cpp b/src/windows/menu-main-window.cpp index 36acd83..cf19fb4 100644 --- a/src/windows/menu-main-window.cpp +++ b/src/windows/menu-main-window.cpp @@ -493,11 +493,10 @@ void MenuWindow::exposeEvent(QExposeEvent *event) if (isExposed()) { if (QX11Info::isPlatformX11()) { requestActivate(); - } else { - WindowHelper::setWindowAttribute(this); -// WindowHelper::removeHeaderBar(this); - updateGeometry(); } + WindowHelper::setWindowAttribute(this); +// WindowHelper::removeHeaderBar(this); + updateGeometry(); } QQuickView::exposeEvent(event); }