diff options
| author | François Conzelmann <45296195+zephvr@users.noreply.github.com> | 2023-12-06 23:54:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-06 22:54:56 +0000 |
| commit | 4a42344e9748d2b44c55798ddc3fa41448533c4e (patch) | |
| tree | f8a06c575a650be05d629555f4e127115dffe470 /src/helpers/Workspace.cpp | |
| parent | 5489f9f07a73c6b5b97702731a5092463a01fb5b (diff) | |
style/ci: apply clang-format and verify it in ci (#4039)
* style: apply clang-format
* ci: add new clang-format job to CI
Diffstat (limited to 'src/helpers/Workspace.cpp')
| -rw-r--r-- | src/helpers/Workspace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/Workspace.cpp b/src/helpers/Workspace.cpp index c027688e..213607d0 100644 --- a/src/helpers/Workspace.cpp +++ b/src/helpers/Workspace.cpp @@ -90,7 +90,7 @@ void CWorkspace::startAnim(bool in, bool left, bool instant) { } } else if (ANIMSTYLE == "slidevert") { // fallback is slide - const auto PMONITOR = g_pCompositor->getMonitorFromID(m_iMonitorID); + const auto PMONITOR = g_pCompositor->getMonitorFromID(m_iMonitorID); const auto YDISTANCE = PMONITOR->vecSize.y + *PWORKSPACEGAP; m_fAlpha.setValueAndWarp(1.f); // fix a bug, if switching from fade -> slide. @@ -103,7 +103,7 @@ void CWorkspace::startAnim(bool in, bool left, bool instant) { } } else { // fallback is slide - const auto PMONITOR = g_pCompositor->getMonitorFromID(m_iMonitorID); + const auto PMONITOR = g_pCompositor->getMonitorFromID(m_iMonitorID); const auto XDISTANCE = PMONITOR->vecSize.x + *PWORKSPACEGAP; m_fAlpha.setValueAndWarp(1.f); // fix a bug, if switching from fade -> slide. |
