forked from quickshell/quickshell
core/reloader: fix late creation of Reloadable types
This commit is contained in:
parent
61812343f5
commit
6eb68d2cd7
13 changed files with 87 additions and 48 deletions
|
@ -90,7 +90,7 @@ void WlSessionLock::updateSurfaces(WlSessionLock* old) {
|
|||
instance->setScreen(screen);
|
||||
|
||||
auto* oldInstance = old == nullptr ? nullptr : old->surfaces.value(screen, nullptr);
|
||||
instance->onReload(oldInstance);
|
||||
instance->reload(oldInstance);
|
||||
|
||||
this->surfaces[screen] = instance;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue