diff --git a/src/core/engine/engine.cpp b/src/core/engine/engine.cpp index 23fbb024..b3cefbf9 100644 --- a/src/core/engine/engine.cpp +++ b/src/core/engine/engine.cpp @@ -21,7 +21,7 @@ void Engine::addWindow(PlasmaApi::Client client) { // Don't manage special windows - docks, panels, etc. // Also don't tile launchers - if (client.specialWindow() || client.resourceClass() == QByteArrayLiteral("krunner")) { + if (client.specialWindow() || client.dialog() || client.resourceClass() == QByteArrayLiteral("krunner")) { return; } diff --git a/src/core/plasma-api/toplevel.hpp b/src/core/plasma-api/toplevel.hpp index 4152a5ed..b40aa9c2 100644 --- a/src/core/plasma-api/toplevel.hpp +++ b/src/core/plasma-api/toplevel.hpp @@ -25,9 +25,8 @@ public: /** * Whether the window is a dialog window. */ - // Q_PROPERTY(bool dialog READ dialog) - // BOOL_PRIMITIVE_GET(dialog) - // + BI_READONLY_PROPERTY(bool, dialog) + // /** // * Frame geometry // */