mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 15:41:58 -07:00
layout: Don't update pseudoSize after window moved by mouse. (#3873)
This commit is contained in:
@@ -427,7 +427,8 @@ void IHyprLayout::changeWindowFloatingMode(CWindow* pWindow) {
|
|||||||
const auto PSAVEDSIZE = pWindow->m_vRealSize.goalv();
|
const auto PSAVEDSIZE = pWindow->m_vRealSize.goalv();
|
||||||
|
|
||||||
// if the window is pseudo, update its size
|
// if the window is pseudo, update its size
|
||||||
pWindow->m_vPseudoSize = pWindow->m_vRealSize.goalv();
|
if (!pWindow->m_bDraggingTiled)
|
||||||
|
pWindow->m_vPseudoSize = pWindow->m_vRealSize.goalv();
|
||||||
|
|
||||||
pWindow->m_vLastFloatingSize = PSAVEDSIZE;
|
pWindow->m_vLastFloatingSize = PSAVEDSIZE;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user