diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-04-16 01:37:48 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-04-16 01:37:48 +0100 |
| commit | 877fb5b93ada9b25b4d2f5ca5f69370fa345f1ac (patch) | |
| tree | 5b52ad19c695590ae50c7adae06b8e3aeccf34c1 /src/desktop/Window.cpp | |
| parent | 0e521788bcc414c9cf81648d3167757d83deb60f (diff) | |
time: move to stl's clocks and move timer
Diffstat (limited to 'src/desktop/Window.cpp')
| -rw-r--r-- | src/desktop/Window.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp index 323aa03a..059453f4 100644 --- a/src/desktop/Window.cpp +++ b/src/desktop/Window.cpp @@ -417,10 +417,10 @@ void CWindow::moveToWorkspace(PHLWORKSPACE pWorkspace) { if (TOKEN) { if (*PINITIALWSTRACKING == 2) { // persistent - SInitialWorkspaceToken token = std::any_cast<SInitialWorkspaceToken>(TOKEN->data); + SInitialWorkspaceToken token = std::any_cast<SInitialWorkspaceToken>(TOKEN->m_data); if (token.primaryOwner == m_pSelf) { token.workspace = pWorkspace->getConfigName(); - TOKEN->data = token; + TOKEN->m_data = token; } } } @@ -507,7 +507,7 @@ void CWindow::onUnmap() { if (TOKEN) { if (*PINITIALWSTRACKING == 2) { // persistent token, but the first window got removed so the token is gone - SInitialWorkspaceToken token = std::any_cast<SInitialWorkspaceToken>(TOKEN->data); + SInitialWorkspaceToken token = std::any_cast<SInitialWorkspaceToken>(TOKEN->m_data); if (token.primaryOwner == m_pSelf) g_pTokenManager->removeToken(TOKEN); } |
