mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 23:25:57 +01:00
layout: Don't update pseudoSize after window moved by mouse. (#3873)
This commit is contained in:
parent
89f6457a99
commit
6ad5f26cfe
1 changed files with 2 additions and 1 deletions
|
@ -427,6 +427,7 @@ 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
|
||||||
|
if (!pWindow->m_bDraggingTiled)
|
||||||
pWindow->m_vPseudoSize = pWindow->m_vRealSize.goalv();
|
pWindow->m_vPseudoSize = pWindow->m_vRealSize.goalv();
|
||||||
|
|
||||||
pWindow->m_vLastFloatingSize = PSAVEDSIZE;
|
pWindow->m_vLastFloatingSize = PSAVEDSIZE;
|
||||||
|
|
Loading…
Reference in a new issue