Mercurial > minori
diff dep/animone/src/win/x11.cc @ 310:a4257370de16
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 | b1f625b0227c |
children | d260549151d6 |
line wrap: on
line diff
--- a/dep/animone/src/win/x11.cc Tue Jun 11 04:24:59 2024 -0400 +++ b/dep/animone/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++)