diff --git a/effects/desktopgrid/desktopgrid.cpp b/effects/desktopgrid/desktopgrid.cpp index df70a8f8e2..498e543de3 100644 --- a/effects/desktopgrid/desktopgrid.cpp +++ b/effects/desktopgrid/desktopgrid.cpp @@ -1376,7 +1376,7 @@ DesktopButtonsView::DesktopButtonsView(QWindow *parent) , m_visible(false) , m_posIsValid(false) { - setFlags(Qt::X11BypassWindowManagerHint); + setFlags(Qt::X11BypassWindowManagerHint | Qt::FramelessWindowHint); setColor(Qt::transparent); rootContext()->setContextProperty(QStringLiteral("add"), QVariant(true)); diff --git a/effects/presentwindows/presentwindows.cpp b/effects/presentwindows/presentwindows.cpp index 030dfadb32..8f192c83a4 100755 --- a/effects/presentwindows/presentwindows.cpp +++ b/effects/presentwindows/presentwindows.cpp @@ -1893,7 +1893,7 @@ CloseWindowView::CloseWindowView(QObject *parent) , m_visible(false) , m_posIsValid(false) { - m_window->setFlags(Qt::X11BypassWindowManagerHint); + m_window->setFlags(Qt::X11BypassWindowManagerHint | Qt::FramelessWindowHint); m_window->setColor(Qt::transparent); m_window->setSource(QUrl(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kwin/effects/presentwindows/main.qml")))); diff --git a/scripts/desktopchangeosd/contents/ui/osd.qml b/scripts/desktopchangeosd/contents/ui/osd.qml index e2ff86c5b4..269b29e8b1 100644 --- a/scripts/desktopchangeosd/contents/ui/osd.qml +++ b/scripts/desktopchangeosd/contents/ui/osd.qml @@ -28,7 +28,7 @@ PlasmaCore.Dialog { id: dialog location: PlasmaCore.Types.Floating visible: false - flags: Qt.X11BypassWindowManagerHint + flags: Qt.X11BypassWindowManagerHint | Qt.FramelessWindowHint outputOnly: true mainItem: Item {