Apply clang-format across the whole tree
Run clang-format (the repo's .clang-format: LLVM base, 120 cols, tabs, Allman functions) over every source file so the tree is formatter-clean. Whitespace only -- no behavior change; full x64 + x86 suites pass. Also set SortIncludes: false in .clang-format. Windows include order is load-bearing (windows.h must precede tlhelp32.h / mmreg.h / xinput.h / dinput.h; winsock2.h must precede windows.h), and the default alphabetical sort reorders tlhelp32.h ahead of windows.h -- a build break. Leaving order alone keeps the manual, correct grouping.
This commit is contained in:
@@ -6,15 +6,13 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace coop
|
||||
{
|
||||
namespace coop {
|
||||
|
||||
struct WindowEntry
|
||||
{
|
||||
unsigned long pid = 0; // owning process id
|
||||
void* hwnd = nullptr; // HWND (opaque here to keep windows.h out of the header)
|
||||
std::wstring title; // window caption
|
||||
std::wstring exe_name; // owning process image base name, e.g. "game.exe"
|
||||
struct WindowEntry {
|
||||
unsigned long pid = 0; // owning process id
|
||||
void* hwnd = nullptr; // HWND (opaque here to keep windows.h out of the header)
|
||||
std::wstring title; // window caption
|
||||
std::wstring exe_name; // owning process image base name, e.g. "game.exe"
|
||||
};
|
||||
|
||||
// Snapshot of the visible, titled, non-tool top-level (alt-tab-style) windows, with
|
||||
|
||||
Reference in New Issue
Block a user