mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-10-05 20:48:03 +03:00
chore(new_backend): don't manage launchers
This commit is contained in:
parent
bcf280949f
commit
e7b06f4ecf
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
// */
|
// */
|
||||||
|
Loading…
Reference in New Issue
Block a user