diff --git a/plugins/tray/snitraywidget.cpp b/plugins/tray/snitraywidget.cpp index 9d5c0315d..8d88b3059 100644 --- a/plugins/tray/snitraywidget.cpp +++ b/plugins/tray/snitraywidget.cpp @@ -21,6 +21,7 @@ #include "snitraywidget.h" #include "util/themeappicon.h" +#include "util/utils.h" #include "../../widgets/tipswidget.h" #include @@ -71,6 +72,10 @@ SNITrayWidget::SNITrayWidget(const QString &sniServicePath, QWidget *parent) arrowRectangle->setArrowWidth(18); arrowRectangle->setArrowHeight(10); arrowRectangle->setObjectName("snitraypopup"); + if (Utils::IS_WAYLAND_DISPLAY) { + Qt::WindowFlags flags = arrowRectangle->windowFlags() | Qt::FramelessWindowHint; + arrowRectangle->setWindowFlags(flags); + } PopupWindow = arrowRectangle; connect(qApp, &QApplication::aboutToQuit, PopupWindow, &DockPopupWindow::deleteLater); }