chore(new_backend): don't manage launchers

This commit is contained in:
Mikhail Zolotukhin 2022-03-29 15:52:18 +03:00 committed by Genda
parent bcf280949f
commit e7b06f4ecf
2 changed files with 8 additions and 8 deletions

View File

@ -20,7 +20,8 @@ Engine::Engine(PlasmaApi::Api &api, const Bismuth::Config &config)
void Engine::addWindow(PlasmaApi::Client client) void Engine::addWindow(PlasmaApi::Client client)
{ {
// Don't manage special windows - docks, panels, etc. // Don't manage special windows - docks, panels, etc.
if (client.specialWindow()) { // Also don't tile launchers
if (client.specialWindow() || client.resourceClass() == QByteArrayLiteral("krunner")) {
return; return;
} }

View File

@ -33,13 +33,12 @@ public:
// */ // */
// // Q_PROPERTY(QRect frameGeometry READ frameGeometry WRITE set_frameGeometry) // // Q_PROPERTY(QRect frameGeometry READ frameGeometry WRITE set_frameGeometry)
// // QRECT_ // // QRECT_
//
// /** /**
// * Window class name * Window class name
// */ */
// Q_PROPERTY(QByteArray resourceClass READ resourceClass) BI_READONLY_PROPERTY(QByteArray, resourceClass)
// QBYTEARRAY_PRIMITIVE_GET(resourceClass)
//
// /** // /**
// * Window title // * Window title
// */ // */