diff options
| author | xqso <69903545+xqso@users.noreply.github.com> | 2025-07-25 15:19:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-25 17:19:23 +0200 |
| commit | 5c8d675eedcd836cbb0d4eeadf203efc7f73752b (patch) | |
| tree | 568ef38b465157d9b019032589f744def3ab930b /src/managers | |
| parent | fd0c1f2ab492e8977305b6d00a6ea1cc293d6b6b (diff) | |
ci: correct tar command for xz compression & fix typos (#11213)
Diffstat (limited to 'src/managers')
| -rw-r--r-- | src/managers/AnimationManager.cpp | 2 | ||||
| -rw-r--r-- | src/managers/KeybindManager.cpp | 12 | ||||
| -rw-r--r-- | src/managers/KeybindManager.hpp | 2 | ||||
| -rw-r--r-- | src/managers/PointerManager.cpp | 2 | ||||
| -rw-r--r-- | src/managers/SessionLockManager.cpp | 2 | ||||
| -rw-r--r-- | src/managers/XCursorManager.cpp | 4 | ||||
| -rw-r--r-- | src/managers/input/InputManager.cpp | 4 | ||||
| -rw-r--r-- | src/managers/permissions/DynamicPermissionManager.cpp | 2 |
8 files changed, 15 insertions, 15 deletions
diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp index 333111e9..a5ede0e5 100644 --- a/src/managers/AnimationManager.cpp +++ b/src/managers/AnimationManager.cpp @@ -104,7 +104,7 @@ static void handleUpdate(CAnimatedVariable<VarType>& av, bool warp) { if (!PMONITOR) return; - // dont damage the whole monitor on workspace change, unless it's a special workspace, because dim/blur etc + // don't damage the whole monitor on workspace change, unless it's a special workspace, because dim/blur etc if (PWORKSPACE->m_isSpecialWorkspace) g_pHyprRenderer->damageMonitor(PMONITOR); diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 6a08a550..d9b2bc1f 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -2013,8 +2013,8 @@ SDispatchResult CKeybindManager::moveCurrentWorkspaceToMonitor(std::string args) PHLMONITOR PMONITOR = g_pCompositor->getMonitorFromString(args); if (!PMONITOR) { - Debug::log(ERR, "Ignoring moveCurrentWorkspaceToMonitor: monitor doesnt exist"); - return {.success = false, .error = "Ignoring moveCurrentWorkspaceToMonitor: monitor doesnt exist"}; + Debug::log(ERR, "Ignoring moveCurrentWorkspaceToMonitor: monitor doesn't exist"); + return {.success = false, .error = "Ignoring moveCurrentWorkspaceToMonitor: monitor doesn't exist"}; } // get the current workspace @@ -2039,8 +2039,8 @@ SDispatchResult CKeybindManager::moveWorkspaceToMonitor(std::string args) { const auto PMONITOR = g_pCompositor->getMonitorFromString(monitor); if (!PMONITOR) { - Debug::log(ERR, "Ignoring moveWorkspaceToMonitor: monitor doesnt exist"); - return {.success = false, .error = "Ignoring moveWorkspaceToMonitor: monitor doesnt exist"}; + Debug::log(ERR, "Ignoring moveWorkspaceToMonitor: monitor doesn't exist"); + return {.success = false, .error = "Ignoring moveWorkspaceToMonitor: monitor doesn't exist"}; } const auto WORKSPACEID = getWorkspaceIDNameFromString(workspace).id; @@ -2582,7 +2582,7 @@ SDispatchResult CKeybindManager::sendshortcut(std::string args) { const auto LASTSURFACE = g_pCompositor->m_lastFocus.lock(); //if regexp is not empty, send shortcut to current window - //else, dont change focus + //else, don't change focus if (!regexp.empty()) { PWINDOW = g_pCompositor->getWindowByRegex(regexp); @@ -2924,7 +2924,7 @@ void CKeybindManager::moveWindowIntoGroup(PHLWINDOW pWindow, PHLWINDOW pWindowIn updateRelativeCursorCoords(); - g_pLayoutManager->getCurrentLayout()->onWindowRemoved(pWindow); // This removes groupped property! + g_pLayoutManager->getCurrentLayout()->onWindowRemoved(pWindow); // This removes grouped property! if (pWindow->m_monitor != pWindowInDirection->m_monitor) { pWindow->moveToWorkspace(pWindowInDirection->m_workspace); diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp index be2d114b..7b767d1a 100644 --- a/src/managers/KeybindManager.hpp +++ b/src/managers/KeybindManager.hpp @@ -106,7 +106,7 @@ class CKeybindManager { std::vector<SP<SKeybind>> m_keybinds; - //since we cant find keycode through keyname in xkb: + //since we can't find keycode through keyname in xkb: //on sendshortcut call, we once search for keyname (e.g. "g") the correct keycode (e.g. 42) //and cache it in this map to make sendshortcut calls faster //we also store the keyboard pointer (in the string) to differentiate between different keyboard (layouts) diff --git a/src/managers/PointerManager.cpp b/src/managers/PointerManager.cpp index 7d6f58e0..e6a5693d 100644 --- a/src/managers/PointerManager.cpp +++ b/src/managers/PointerManager.cpp @@ -527,7 +527,7 @@ SP<Aquamarine::IBuffer> CPointerManager::renderHWCursorBuffer(SP<CPointerManager if (TR) { cairo_matrix_rotate(&matrixPre, M_PI_2 * (double)TR); - // FIXME: this is wrong, and doesnt work for 5, 6 and 7. (flipped + rot) + // FIXME: this is wrong, and doesn't work for 5, 6 and 7. (flipped + rot) // cba to do it rn, does anyone fucking use that?? if (TR >= WL_OUTPUT_TRANSFORM_FLIPPED) { cairo_matrix_scale(&matrixPre, -1, 1); diff --git a/src/managers/SessionLockManager.cpp b/src/managers/SessionLockManager.cpp index 4b6cfbf4..68eee562 100644 --- a/src/managers/SessionLockManager.cpp +++ b/src/managers/SessionLockManager.cpp @@ -100,7 +100,7 @@ void CSessionLockManager::onNewSessionLock(SP<CSessionLock> pLock) { return; if (g_pCompositor->m_unsafeState || !g_pCompositor->m_aqBackend->hasSession() || !g_pCompositor->m_aqBackend->session->active) { - // Because the session is inactive, there is a good reason for why the client did't recieve locked or denied. + // Because the session is inactive, there is a good reason for why the client did't receive locked or denied. // We send locked, although this could lead to imperfect frames when we start to render again. g_pSessionLockManager->m_sessionLock->lock->sendLocked(); g_pSessionLockManager->m_sessionLock->hasSentLocked = true; diff --git a/src/managers/XCursorManager.cpp b/src/managers/XCursorManager.cpp index 9bbf531b..626c4250 100644 --- a/src/managers/XCursorManager.cpp +++ b/src/managers/XCursorManager.cpp @@ -574,7 +574,7 @@ void CXCursorManager::syncGsettings() { auto* gSettingsSchemaSource = g_settings_schema_source_get_default(); if (!gSettingsSchemaSource) { - Debug::log(WARN, "GSettings default schema source does not exist, cant sync GSettings"); + Debug::log(WARN, "GSettings default schema source does not exist, can't sync GSettings"); return false; } @@ -592,7 +592,7 @@ void CXCursorManager::syncGsettings() { using SettingValue = std::variant<std::string, int>; auto setValue = [&checkParamExists](std::string const& paramName, const SettingValue& paramValue, std::string const& category) { if (!checkParamExists(paramName, category)) { - Debug::log(WARN, "GSettings parameter doesnt exist {} in {}", paramName, category); + Debug::log(WARN, "GSettings parameter doesn't exist {} in {}", paramName, category); return; } diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 4d5bcb28..eb941502 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -361,7 +361,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus, bool mouse) { if (!foundSurface) foundSurface = g_pCompositor->vectorToLayerSurface(mouseCoords, &PMONITOR->m_layerSurfaceLayers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], &surfaceCoords, &pFoundLayerSurface); - // then, we check if the workspace doesnt have a fullscreen window + // then, we check if the workspace doesn't have a fullscreen window const auto PWORKSPACE = PMONITOR->m_activeSpecialWorkspace ? PMONITOR->m_activeSpecialWorkspace : PMONITOR->m_activeWorkspace; const auto PWINDOWIDEAL = g_pCompositor->vectorToWindowUnified(mouseCoords, RESERVED_EXTENTS | INPUT_EXTENTS | ALLOW_FLOATING); if (PWORKSPACE->m_hasFullscreenWindow && !foundSurface && PWORKSPACE->m_fullscreenMode == FSMODE_FULLSCREEN) { @@ -796,7 +796,7 @@ void CInputManager::processMouseDownNormal(const IPointer::SButtonEvent& e) { case WL_POINTER_BUTTON_STATE_RELEASED: break; } - // notify app if we didnt handle it + // notify app if we didn't handle it g_pSeatManager->sendPointerButton(e.timeMs, e.button, e.state); if (const auto PMON = g_pCompositor->getMonitorFromVector(mouseCoords); PMON != g_pCompositor->m_lastMonitor && PMON) diff --git a/src/managers/permissions/DynamicPermissionManager.cpp b/src/managers/permissions/DynamicPermissionManager.cpp index bfb14c59..235336b7 100644 --- a/src/managers/permissions/DynamicPermissionManager.cpp +++ b/src/managers/permissions/DynamicPermissionManager.cpp @@ -193,7 +193,7 @@ eDynamicPermissionAllowMode CDynamicPermissionManager::clientPermissionMode(wl_c return PERMISSION_RULE_ALLOW_MODE_PENDING; } - // if we are here, we need to ask, that's the fallback for all these (keyboards wont come here) + // if we are here, we need to ask, that's the fallback for all these (keyboards won't come here) askForPermission(client, LOOKUP.value_or(""), permission); return PERMISSION_RULE_ALLOW_MODE_PENDING; |
