diff options
Diffstat (limited to 'src/desktop/history/WindowHistoryTracker.cpp')
| -rw-r--r-- | src/desktop/history/WindowHistoryTracker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/history/WindowHistoryTracker.cpp b/src/desktop/history/WindowHistoryTracker.cpp index 5dc0742f..edaa2b5e 100644 --- a/src/desktop/history/WindowHistoryTracker.cpp +++ b/src/desktop/history/WindowHistoryTracker.cpp @@ -20,7 +20,7 @@ CWindowHistoryTracker::CWindowHistoryTracker() { }); static auto P1 = g_pHookSystem->hookDynamic("activeWindow", [this](void* self, SCallbackInfo& info, std::any data) { - auto window = std::any_cast<PHLWINDOW>(data); + auto window = std::any_cast<Desktop::View::SWindowActiveEvent>(data).window; track(window); }); |
