mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 08:30:22 -07:00
parent
9b3925009a
commit
85f874d10f
@ -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…
x
Reference in New Issue
Block a user