diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-11-12 13:34:42 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-11-12 13:34:54 +0000 |
| commit | 69e314207d193eb67be0ae153d50c6c6bcee4b60 (patch) | |
| tree | 062189da23659b0206ed3b6287652c09959d2b59 /src/events/Windows.cpp | |
| parent | 1bfd4a2bff5f67872b868d519fbb45b32aa72b1f (diff) | |
internal: replace INT_MAX with WORKSPACE_INVALID
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 00d78f4c..1d5384b7 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -279,7 +279,7 @@ void Events::listener_mapWindow(void* owner, void* data) { std::string requestedWorkspaceName; const int REQUESTEDWORKSPACEID = getWorkspaceIDFromString(WORKSPACEARGS.join(" ", 0, workspaceSilent ? WORKSPACEARGS.size() - 1 : 0), requestedWorkspaceName); - if (REQUESTEDWORKSPACEID != INT_MAX) { + if (REQUESTEDWORKSPACEID != WORKSPACE_INVALID) { auto pWorkspace = g_pCompositor->getWorkspaceByID(REQUESTEDWORKSPACEID); if (!pWorkspace) |
