diff src/win/x11.cc @ 19:6596be6917a1

dep/animone: prepare for v1.0 release; it should be ready by now
author Paper <paper@paper.us.eu.org>
date Tue, 11 Jun 2024 04:38:51 -0400
parents 27b988a1048c
children 7174ff20498d
line wrap: on
line diff
--- a/src/win/x11.cc	Tue Jun 11 04:24:59 2024 -0400
+++ b/src/win/x11.cc	Tue Jun 11 04:38:51 2024 -0400
@@ -1,3 +1,9 @@
+/*
+ * win/x11.c: support for X11 using XCB
+ *
+ * some things might be wrong here due to
+ * having to use recursive logic, but whatever
+ */
 #include "animone/win/x11.h"
 #include "animone.h"
 #include "animone/fd.h" /* GetProcessName() */
@@ -17,8 +23,6 @@
 
 #include <iostream>
 
-/* This uses XCB (and it uses it *right*), so it should be plenty fast */
-
 static size_t str_nlen(const char* s, size_t len) {
 	size_t i = 0;
 	for (; i < len && s[i]; i++)