diff options
| author | Dickby <felix.dick@web.de> | 2023-11-18 20:59:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-18 19:59:12 +0000 |
| commit | 6ad5f26cfebbdf48ed9633f2ba92e92f5b6622fb (patch) | |
| tree | 4d7b10d6eeb6b50d3865f20dd1b773b3ce31f9fc /src/layout/IHyprLayout.cpp | |
| parent | 89f6457a99c188454a4ebb429e80398668a13d28 (diff) | |
layout: Don't update pseudoSize after window moved by mouse. (#3873)
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
| -rw-r--r-- | src/layout/IHyprLayout.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index abc1aeda..8bb51daf 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -427,7 +427,8 @@ void IHyprLayout::changeWindowFloatingMode(CWindow* pWindow) { const auto PSAVEDSIZE = pWindow->m_vRealSize.goalv(); // 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; |
