Adding more frameless hints

The internal window can be decorated really broke a few things...
This commit is contained in:
Martin Gräßlin 2016-08-11 08:45:41 +02:00
parent 4a16bbbe46
commit 079095beea
3 changed files with 3 additions and 3 deletions

View file

@ -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));

View file

@ -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"))));

View file

@ -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 {