diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-12-20 02:18:47 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-12-20 02:18:47 +0000 |
| commit | 4fd90144d13a6a8d34ac77f9340ce7fd397c3464 (patch) | |
| tree | 3709696d68ee8731207e3003084bbc297579b01c /src/Compositor.cpp | |
| parent | 3e2785b9707348e918b61491bee5f69c43be9a66 (diff) | |
touch up the clang format and format all files
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index c345f0e8..be77ff79 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -704,7 +704,7 @@ wlr_surface* CCompositor::vectorWindowToSurface(const Vector2D& pos, CWindow* pW double subx, suby; // calc for oversized windows... fucking bullshit, again. - wlr_box geom; + wlr_box geom; wlr_xdg_surface_get_geometry(pWindow->m_uSurface.xdg, &geom); const auto PFOUND = wlr_xdg_surface_surface_at(PSURFACE, pos.x - pWindow->m_vRealPosition.vec().x + geom.x, pos.y - pWindow->m_vRealPosition.vec().y + geom.y, &subx, &suby); @@ -1690,7 +1690,7 @@ void CCompositor::moveWorkspaceToMonitor(CWorkspace* pWorkspace, CMonitor* pMoni const bool SWITCHINGISACTIVE = POLDMON->activeWorkspace == pWorkspace->m_iID; // fix old mon - int nextWorkspaceOnMonitorID = -1; + int nextWorkspaceOnMonitorID = -1; for (auto& w : m_vWorkspaces) { if (w->m_iMonitorID == POLDMON->ID && w->m_iID != pWorkspace->m_iID) { nextWorkspaceOnMonitorID = w->m_iID; |
