Window: Don't reset quick tile mode on interactive move start

Quick tile mode reset should be done in the interactive move handler,
where the new move offset is set. Only reset it on resize to unsnap
the window from the tile.

BUG: 472366
This commit is contained in:
Ser Freeman 2024-02-26 11:15:15 +05:00 committed by Vlad Zahorodnii
parent 083318dddd
commit 192ec437df

View file

@ -1246,7 +1246,7 @@ bool Window::startInteractiveMoveResize()
}
}
if (m_tile && !m_tile->supportsResizeGravity(interactiveMoveResizeGravity())) {
if (isInteractiveResize() && m_tile && !m_tile->supportsResizeGravity(interactiveMoveResizeGravity())) {
setQuickTileMode(QuickTileFlag::None);
}