layout: Don't update pseudoSize after window moved by mouse. (#3873)

This commit is contained in:
Dickby 2023-11-18 20:59:12 +01:00 committed by GitHub
parent 89f6457a99
commit 6ad5f26cfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -427,6 +427,7 @@ void IHyprLayout::changeWindowFloatingMode(CWindow* pWindow) {
const auto PSAVEDSIZE = pWindow->m_vRealSize.goalv();
// if the window is pseudo, update its size
if (!pWindow->m_bDraggingTiled)
pWindow->m_vPseudoSize = pWindow->m_vRealSize.goalv();
pWindow->m_vLastFloatingSize = PSAVEDSIZE;