chore(new_backend): ignore dialog windows

This commit is contained in:
Mikhail Zolotukhin 2022-03-29 19:35:34 +03:00 committed by Genda
parent e7b06f4ecf
commit 4262c39137
2 changed files with 3 additions and 4 deletions

View File

@ -21,7 +21,7 @@ void Engine::addWindow(PlasmaApi::Client client)
{ {
// Don't manage special windows - docks, panels, etc. // Don't manage special windows - docks, panels, etc.
// Also don't tile launchers // Also don't tile launchers
if (client.specialWindow() || client.resourceClass() == QByteArrayLiteral("krunner")) { if (client.specialWindow() || client.dialog() || client.resourceClass() == QByteArrayLiteral("krunner")) {
return; return;
} }

View File

@ -25,9 +25,8 @@ public:
/** /**
* Whether the window is a dialog window. * Whether the window is a dialog window.
*/ */
// Q_PROPERTY(bool dialog READ dialog) BI_READONLY_PROPERTY(bool, dialog)
// BOOL_PRIMITIVE_GET(dialog)
//
// /** // /**
// * Frame geometry // * Frame geometry
// */ // */