mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-27 02:49:48 +01:00
fix dwindle leaving artifacts on toggle pseudo
This commit is contained in:
parent
1c423ec997
commit
ef4ab2edd4
1 changed files with 3 additions and 3 deletions
|
@ -198,9 +198,6 @@ void CHyprDwindleLayout::onWindowCreated(CWindow* pWindow) {
|
|||
|
||||
applyNodeDataToWindow(PNODE);
|
||||
|
||||
pWindow->m_vRealPosition.setValue(PNODE->position + PNODE->size / 2.f);
|
||||
pWindow->m_vRealSize.setValue(Vector2D(5, 5));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -387,6 +384,9 @@ void CHyprDwindleLayout::changeWindowFloatingMode(CWindow* pWindow) {
|
|||
|
||||
pWindow->m_vRealPosition.setValue(PSAVEDPOS);
|
||||
pWindow->m_vRealSize.setValue(PSAVEDSIZE);
|
||||
|
||||
// fix pseudo leaving artifacts
|
||||
g_pHyprRenderer->damageMonitor(g_pCompositor->getMonitorFromID(pWindow->m_iMonitorID));
|
||||
} else {
|
||||
onWindowRemoved(pWindow);
|
||||
|
||||
|
|
Loading…
Reference in a new issue