aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-06-02 19:50:46 +0200
committervaxerski <[email protected]>2022-06-02 19:50:46 +0200
commita2f718059b18c0e73032bce45b1bd7558c2f75d6 (patch)
tree192241cdbcf5956fa21a5fb316dd012c3f2b3af7
parentfeb0499597602b9dfd576b987df7c43bc350aff4 (diff)
downloadHyprland-a2f718059b18c0e73032bce45b1bd7558c2f75d6.tar.gz
Hyprland-a2f718059b18c0e73032bce45b1bd7558c2f75d6.zip
fucking typo
-rw-r--r--src/helpers/MiscFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp
index 4e9cbed4..2cdadbc8 100644
--- a/src/helpers/MiscFunctions.cpp
+++ b/src/helpers/MiscFunctions.cpp
@@ -191,7 +191,7 @@ int getWorkspaceIDFromString(const std::string& in, std::string& outName) {
searchID = lowestID;
}
- if (const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(searchID); PWORKSPACE 11&& PWORKSPACE->m_iID != SPECIAL_WORKSPACE_ID) {
+ if (const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(searchID); PWORKSPACE && PWORKSPACE->m_iID != SPECIAL_WORKSPACE_ID) {
if (PWORKSPACE->m_iMonitorID == g_pCompositor->m_pLastMonitor->ID) {
currentID = PWORKSPACE->m_iID;