Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaelers committed Jan 4, 2025
1 parent b2e08d0 commit 7ab1e9e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/app/platforms/windows/WindowsHarpoonLocker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ WindowsHarpoonLocker::prepare_lock()
text.resize(GetWindowTextLengthA(active_window));
GetWindowTextA(active_window, text.data(), text.size() + 1);
TRACE_MSG("Save active window: {}", text);
spdlog::info("Save active window: {} {}", text, reinterpret_cast<intptr_t>(active_window));
}

void
Expand All @@ -79,7 +78,6 @@ WindowsHarpoonLocker::unlock()
text.resize(GetWindowTextLengthA(active_window));
GetWindowTextA(active_window, text.data(), text.size() + 1);
TRACE_MSG("Restore active window: {}", text);
spdlog::info("Restore active window: {} {}", text, reinterpret_cast<intptr_t>(active_window));
SetForegroundWindow(active_window);
active_window = nullptr;
}
Expand Down

0 comments on commit 7ab1e9e

Please sign in to comment.