diff options
author | vaxerski <[email protected]> | 2022-12-04 00:03:48 +0000 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-12-04 00:03:48 +0000 |
commit | 9e8df888ebf27d17acfb2e796195e9688529c2d9 (patch) | |
tree | 6f7c52b0fcbdaf329a3a2a57d2076e193a2449a1 | |
parent | 409ac12f236c06cbb28756239e1d1536078b33bb (diff) | |
download | Hyprland-9e8df888ebf27d17acfb2e796195e9688529c2d9.tar.gz Hyprland-9e8df888ebf27d17acfb2e796195e9688529c2d9.zip |
fix warning
-rw-r--r-- | src/helpers/Monitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 451eaf6a..d27c0993 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -243,7 +243,7 @@ bool CMonitor::isMirror() { void CMonitor::setupDefaultWS(const SMonitorRule& monitorRule) { // Workspace std::string newDefaultWorkspaceName = ""; - auto WORKSPACEID = monitorRule.defaultWorkspace == "" ? g_pCompositor->m_vWorkspaces.size() + 1 : getWorkspaceIDFromString(monitorRule.defaultWorkspace, newDefaultWorkspaceName); + int64_t WORKSPACEID = monitorRule.defaultWorkspace == "" ? g_pCompositor->m_vWorkspaces.size() + 1 : getWorkspaceIDFromString(monitorRule.defaultWorkspace, newDefaultWorkspaceName); if (WORKSPACEID == INT_MAX || (WORKSPACEID >= SPECIAL_WORKSPACE_START && WORKSPACEID <= -2)) { WORKSPACEID = g_pCompositor->m_vWorkspaces.size() + 1; |