mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-10-05 12:37:47 +03:00
chore(new_backend): arrange windows after they are added
This commit is contained in:
parent
877cf0c138
commit
bcf280949f
@ -33,8 +33,6 @@ Controller::Controller(PlasmaApi::Api &api, Engine &engine, const Bismuth::Confi
|
||||
|
||||
if (m_config.experimentalBackend()) {
|
||||
loadExistingWindows();
|
||||
|
||||
m_engine.arrangeWindowsOnAllSurfaces();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user