mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-16 04:23:49 -07:00
renderer: fix window offset for dragged windows (#9629)
This commit is contained in:
@@ -1258,7 +1258,7 @@ void CWindow::setAnimationsToMove() {
|
|||||||
|
|
||||||
void CWindow::onWorkspaceAnimUpdate() {
|
void CWindow::onWorkspaceAnimUpdate() {
|
||||||
// clip box for animated offsets
|
// clip box for animated offsets
|
||||||
if (!m_bIsFloating || m_bPinned || isFullscreen()) {
|
if (!m_bIsFloating || m_bPinned || isFullscreen() || m_bDraggingTiled) {
|
||||||
m_vFloatingOffset = Vector2D(0, 0);
|
m_vFloatingOffset = Vector2D(0, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user