summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorxqso <69903545+xqso@users.noreply.github.com>2025-07-25 15:19:23 +0000
committerGitHub <noreply@github.com>2025-07-25 17:19:23 +0200
commit5c8d675eedcd836cbb0d4eeadf203efc7f73752b (patch)
tree568ef38b465157d9b019032589f744def3ab930b /src/Compositor.cpp
parentfd0c1f2ab492e8977305b6d00a6ea1cc293d6b6b (diff)
ci: correct tar command for xz compression & fix typos (#11213)
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 77108d04..cf1a7cb4 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -1234,7 +1234,7 @@ void CCompositor::focusSurface(SP<CWLSurfaceResource> pSurface, PHLWINDOW pWindo
return;
if (g_pSeatManager->m_seatGrab && !g_pSeatManager->m_seatGrab->accepts(pSurface)) {
- Debug::log(LOG, "surface {:x} won't receive kb focus becuase grab rejected it", (uintptr_t)pSurface.get());
+ Debug::log(LOG, "surface {:x} won't receive kb focus because grab rejected it", (uintptr_t)pSurface.get());
return;
}
@@ -2861,7 +2861,7 @@ void CCompositor::arrangeMonitors() {
maxYOffsetUp = 0;
maxYOffsetDown = 0;
- // Finds the max and min values of explicitely placed monitors.
+ // Finds the max and min values of explicitly placed monitors.
for (auto const& m : arranged) {
maxXOffsetRight = std::max<double>(m->m_position.x + m->m_size.x, maxXOffsetRight);
maxXOffsetLeft = std::min<double>(m->m_position.x, maxXOffsetLeft);
@@ -3031,7 +3031,7 @@ static void checkDefaultCursorWarp(PHLMONITOR monitor) {
}
}
- // modechange happend check if cursor is on that monitor and warp it to middle to not place it out of bounds if resolution changed.
+ // modechange happened check if cursor is on that monitor and warp it to middle to not place it out of bounds if resolution changed.
if (g_pCompositor->getMonitorFromCursor() == monitor) {
g_pCompositor->warpCursorTo(POS, true);
g_pInputManager->refocus();