# HG changeset patch # User Paper # Date 1701931829 18000 # Node ID 50108040d792213f8dbbf240cc2687569a092db7 # Parent 0fc126d52de4daf68a69f847a585ce4a9f09d407 dep/animia/quartz: GetWindowBundleIdentifier -> GetProcessBundleIdentifier diff -r 0fc126d52de4 -r 50108040d792 dep/animia/src/win/quartz.cc --- a/dep/animia/src/win/quartz.cc Thu Dec 07 01:48:04 2023 -0500 +++ b/dep/animia/src/win/quartz.cc Thu Dec 07 01:50:29 2023 -0500 @@ -41,7 +41,7 @@ return osx::util::StringFromCFString(title, result); } -static bool GetWindowBundleIdentifier(pid_t pid, std::string& result) { +static bool GetProcessBundleIdentifier(pid_t pid, std::string& result) { /* The Bundle ID is essentially OS X's solution to Windows' * "class name"; theoretically, it should be different for * each program, although it requires an app bundle. @@ -98,7 +98,7 @@ if (CFDictionaryGetValueIfPresent(window, CFSTR("kCGWindowNumber"), reinterpret_cast(&num)) && num) osx::util::GetCFNumber(num, win.id); } - if (!GetWindowBundleIdentifier(proc.pid, win.class_name)) { + if (!GetProcessBundleIdentifier(proc.pid, win.class_name)) { // Fallback to the Quartz window name, which is unlikely to be filled, but it // *could* be. CFStringRef str = nullptr;