mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-08-15 03:01:03 +03:00
chore(new_backend): ignore dialog windows
This commit is contained in:
parent
e7b06f4ecf
commit
4262c39137
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
// */
|
// */
|
||||||
|
Loading…
Reference in New Issue
Block a user