Merge branch 'Plasma/5.15'
This commit is contained in:
commit
0984f6ccfd
2 changed files with 4 additions and 3 deletions
|
@ -38,6 +38,7 @@ Name[pl]=Ściskanie
|
|||
Name[pt]=Esmagar
|
||||
Name[pt_BR]=Achatar
|
||||
Name[ru]=Сжатие
|
||||
Name[sk]=Rozpučiť
|
||||
Name[sv]=Kläm
|
||||
Name[uk]=Складування
|
||||
Name[x-test]=xxSquashxx
|
||||
|
|
|
@ -428,10 +428,10 @@ void Workspace::initWithX11()
|
|||
// TODO: only in X11 mode
|
||||
// Extra NETRootInfo instance in Client mode is needed to get the values of the properties
|
||||
NETRootInfo client_info(connection(), NET::ActiveWindow | NET::CurrentDesktop);
|
||||
if (!qApp->isSessionRestored())
|
||||
if (!qApp->isSessionRestored()) {
|
||||
m_initialDesktop = client_info.currentDesktop();
|
||||
if (!VirtualDesktopManager::self()->setCurrent(m_initialDesktop))
|
||||
VirtualDesktopManager::self()->setCurrent(1);
|
||||
vds->setCurrent(m_initialDesktop);
|
||||
}
|
||||
|
||||
// TODO: better value
|
||||
rootInfo->setActiveWindow(None);
|
||||
|
|
Loading…
Reference in a new issue