Skip to content

Ensure that the current virtual desktop cannot be null

VirtualDesktopManager::currentChanged() can be emitted with previousDesktop being null/0. It can happen only on startup. After that, it's always valid. In order to make the code that uses the currentChanged signal less trickier, ensure that the current virtual desktop is initialized when the virtual desktop config is loaded.

Merge request reports

Loading