diff options
author | thejch <[email protected]> | 2024-03-03 09:03:23 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-03 17:03:23 +0000 |
commit | 28272d2d7450eb7fffaee42d2d2da06171e626c2 (patch) | |
tree | d6fdb7acff2044e961829588896c46449e2c21cf /src | |
parent | c701767038a0f968b6aa5705e06b32f554cf77bd (diff) | |
download | Hyprland-28272d2d7450eb7fffaee42d2d2da06171e626c2.tar.gz Hyprland-28272d2d7450eb7fffaee42d2d2da06171e626c2.zip |
master: Fix animate resize (#4942)
* fix master animate resize
* fix some other pointers
Diffstat (limited to 'src')
-rw-r--r-- | src/layout/MasterLayout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index 4008b609..230e5bcf 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -707,7 +707,7 @@ void CHyprMasterLayout::applyNodeDataToWindow(SMasterNodeData* pNode) { g_pXWaylandManager->setWindowSize(PWINDOW, wb.size()); } - if (m_bForceWarps && !*PANIMATE) { + if (m_bForceWarps && !**PANIMATE) { g_pHyprRenderer->damageWindow(PWINDOW); PWINDOW->m_vRealPosition.warp(); @@ -774,7 +774,7 @@ void CHyprMasterLayout::resizeActiveWindow(const Vector2D& pixResize, eRectCorne if (WINDOWS > 2) { if (!NONE || !PNODE->isMaster) delta *= 2; - if ((!PNODE->isMaster && DISPLAYLEFT) || (PNODE->isMaster && LEFT && *PSMARTRESIZING)) + if ((!PNODE->isMaster && DISPLAYLEFT) || (PNODE->isMaster && LEFT && **PSMARTRESIZING)) delta = -delta; } break; |