diff options
| author | Maximilian Seidler <78690852+PaideiaDilemma@users.noreply.github.com> | 2025-01-11 16:38:04 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-11 16:38:04 +0000 |
| commit | 2778aff08fba59a34b404751039d7acb6bfb3bdf (patch) | |
| tree | 0c4be9c126df4b61737b568e8841f3fffad7e2bb /src/events/Windows.cpp | |
| parent | 9e4f90aedf2f51d3e7f3dbe5391cb193aa0bddf5 (diff) | |
animations: fix XWayland cursor glitch and refactor skill issues (#9033)
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index ff69e83f..14e89b4b 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -38,7 +38,7 @@ static void setVector2DAnimToMove(WP<CBaseAnimatedVariable> pav) { animvar->setConfig(g_pConfigManager->getAnimationPropertyConfig("windowsMove")); const auto PHLWINDOW = animvar->m_Context.pWindow.lock(); - if (PHLWINDOW && PHLWINDOW->m_vRealPosition->isBeingAnimated() && PHLWINDOW->m_vRealSize->isBeingAnimated()) + if (PHLWINDOW && !PHLWINDOW->m_vRealPosition->isBeingAnimated() && !PHLWINDOW->m_vRealSize->isBeingAnimated()) PHLWINDOW->m_bAnimatingIn = false; } |
