diff dep/animia/src/animia.cc @ 161:71752dcbb49f

junk: clunky merge commit maybe I should enable rebase on this repo
author Paper <mrpapersonic@gmail.com>
date Fri, 17 Nov 2023 13:09:20 -0500
parents 80d6b28eb29f
children 61b76c7b656a
line wrap: on
line diff
--- a/dep/animia/src/animia.cc	Fri Nov 17 12:37:31 2023 -0500
+++ b/dep/animia/src/animia.cc	Fri Nov 17 13:09:20 2023 -0500
@@ -9,6 +9,8 @@
 #include <string>
 #include <vector>
 
+#include <iostream>
+
 namespace animia {
 
 namespace internal {
@@ -70,6 +72,11 @@
 	         We should set the PID of the process if we can get it, but that'll be for when
 	         I can actually be arsed to implement the X11 backend. */
 	auto window_proc = [&](const Process& process, const Window& window) -> bool {
+		std::cout << "Window ID: " << window.id << "\n"
+			<< "\tClass name: " << window.class_name << "\n"
+			<< "\tTitle text: " << window.text << "\n"
+			<< "\tProcess info: " << "\n"
+			<< "\t\tPID: " << process.pid << "\n";
 		for (const auto& player : players) {
 			if (!internal::PlayerHasStrategy(player, Strategy::WindowTitle))
 				continue;