time: move to stl's clocks and move timer
This commit is contained in:
parent
0e521788bc
commit
877fb5b93a
43 changed files with 392 additions and 248 deletions
|
|
@ -85,7 +85,7 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
|||
const auto TOKEN = g_pTokenManager->getToken(SZTOKEN);
|
||||
if (TOKEN) {
|
||||
// find workspace and use it
|
||||
SInitialWorkspaceToken WS = std::any_cast<SInitialWorkspaceToken>(TOKEN->data);
|
||||
SInitialWorkspaceToken WS = std::any_cast<SInitialWorkspaceToken>(TOKEN->m_data);
|
||||
|
||||
Debug::log(LOG, "HL_INITIAL_WORKSPACE_TOKEN {} -> {}", SZTOKEN, WS.workspace);
|
||||
|
||||
|
|
@ -99,7 +99,7 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
|||
else if (*PINITIALWSTRACKING == 2) { // persistent
|
||||
if (WS.primaryOwner.expired()) {
|
||||
WS.primaryOwner = PWINDOW;
|
||||
TOKEN->data = WS;
|
||||
TOKEN->m_data = WS;
|
||||
}
|
||||
|
||||
PWINDOW->m_szInitialWorkspaceToken = SZTOKEN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue