chore(new_backend): arrange windows after they are added

This commit is contained in:
Mikhail Zolotukhin 2022-03-29 15:43:42 +03:00 committed by Genda
parent 877cf0c138
commit bcf280949f
2 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,6 @@ Controller::Controller(PlasmaApi::Api &api, Engine &engine, const Bismuth::Confi
if (m_config.experimentalBackend()) {
loadExistingWindows();
m_engine.arrangeWindowsOnAllSurfaces();
}
}

View File

@ -28,6 +28,8 @@ void Engine::addWindow(PlasmaApi::Client client)
auto surfaces = newWindow.surfaces();
arrangeWindowsOnSurfaces(surfaces);
qDebug(Bi) << "New Window appears on" << surfaces.size() << "surfaces!";
// Bind events of this window