parent
9b3925009a
commit
85f874d10f
1 changed files with 2 additions and 0 deletions
|
|
@ -135,6 +135,7 @@ void CInputManager::endWorkspaceSwipe() {
|
||||||
else {
|
else {
|
||||||
m_sActiveSwipe.pMonitor->changeWorkspace(g_pCompositor->createNewWorkspace(workspaceIDLeft, m_sActiveSwipe.pMonitor->ID));
|
m_sActiveSwipe.pMonitor->changeWorkspace(g_pCompositor->createNewWorkspace(workspaceIDLeft, m_sActiveSwipe.pMonitor->ID));
|
||||||
PWORKSPACEL = g_pCompositor->getWorkspaceByID(workspaceIDLeft);
|
PWORKSPACEL = g_pCompositor->getWorkspaceByID(workspaceIDLeft);
|
||||||
|
PWORKSPACEL->rememberPrevWorkspace(m_sActiveSwipe.pWorkspaceBegin);
|
||||||
}
|
}
|
||||||
|
|
||||||
PWORKSPACEL->m_vRenderOffset->setValue(RENDEROFFSET);
|
PWORKSPACEL->m_vRenderOffset->setValue(RENDEROFFSET);
|
||||||
|
|
@ -161,6 +162,7 @@ void CInputManager::endWorkspaceSwipe() {
|
||||||
else {
|
else {
|
||||||
m_sActiveSwipe.pMonitor->changeWorkspace(g_pCompositor->createNewWorkspace(workspaceIDRight, m_sActiveSwipe.pMonitor->ID));
|
m_sActiveSwipe.pMonitor->changeWorkspace(g_pCompositor->createNewWorkspace(workspaceIDRight, m_sActiveSwipe.pMonitor->ID));
|
||||||
PWORKSPACER = g_pCompositor->getWorkspaceByID(workspaceIDRight);
|
PWORKSPACER = g_pCompositor->getWorkspaceByID(workspaceIDRight);
|
||||||
|
PWORKSPACER->rememberPrevWorkspace(m_sActiveSwipe.pWorkspaceBegin);
|
||||||
}
|
}
|
||||||
|
|
||||||
PWORKSPACER->m_vRenderOffset->setValue(RENDEROFFSET);
|
PWORKSPACER->m_vRenderOffset->setValue(RENDEROFFSET);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue