diff options
author | vaxerski <[email protected]> | 2022-04-23 22:11:32 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-04-23 22:11:32 +0200 |
commit | 8f3b4aa89c99b0148a7ff0cde28ff88eea76c4a6 (patch) | |
tree | fc8c95d83b06014e10d003c9cb4a17c6dc5f673a | |
parent | 6d8016185abd9b11ad851967eb9e71092d6c0bf2 (diff) | |
download | Hyprland-8f3b4aa89c99b0148a7ff0cde28ff88eea76c4a6.tar.gz Hyprland-8f3b4aa89c99b0148a7ff0cde28ff88eea76c4a6.zip |
oops, small fix
-rw-r--r-- | src/layout/DwindleLayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index f54bef7c..a3fdeecb 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -451,7 +451,7 @@ void CHyprDwindleLayout::onMouseMove(const Vector2D& mousePos) { DRAGGINGWINDOW->m_vRealPosition.setValueAndWarp(m_vBeginDragPositionXY + DELTA); } else { if (DRAGGINGWINDOW->m_bIsFloating) { - DRAGGINGWINDOW->m_vRealPosition.setValueAndWarp(m_vBeginDragSizeXY + DELTA); + DRAGGINGWINDOW->m_vRealSize.setValueAndWarp(m_vBeginDragSizeXY + DELTA); DRAGGINGWINDOW->m_vRealSize.setValueAndWarp(Vector2D(std::clamp(DRAGGINGWINDOW->m_vRealSize.vec().x, (double)20, (double)999999), std::clamp(DRAGGINGWINDOW->m_vRealSize.vec().y, (double)20, (double)999999))); g_pXWaylandManager->setWindowSize(DRAGGINGWINDOW, DRAGGINGWINDOW->m_vRealSize.goalv()); |