Adding more frameless hints
The internal window can be decorated really broke a few things...
This commit is contained in:
parent
4a16bbbe46
commit
079095beea
3 changed files with 3 additions and 3 deletions
|
@ -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));
|
||||
|
|
|
@ -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"))));
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue