Cleanup / style changes

This commit is contained in:
WarmUpTill
2026-04-07 22:39:24 +02:00
committed by WarmUpTill
parent 99629e8c66
commit 1483f9d9dc
12 changed files with 71 additions and 134 deletions

View File

@@ -42,8 +42,7 @@ void CloseWindow(const std::string &) {}
std::optional<std::string> MacroActionWindow::GetMatchingWindow() const
{
std::vector<std::string> windowList;
GetWindowList(windowList);
const auto windowList = GetWindowList();
if (!_regex.Enabled()) {
if (std::find(windowList.begin(), windowList.end(),