things/img/scrall
Casey cfa2af3d91
Oh my fucking god, fuck xcb and X
Some windows have WM_NAME of 0 bytes, so I have to ask for _NET_WM_NAME
Atom, but some windows have it as XCB_ATOM_STRING and most of them have
it as UTF8_STRING, so I'm just reading UTF-8 one.

And ALSO coordinates from xcb_get_geometry are relative to the parent,
so I have to translate them using xcb_translate_coordinates, which would
be fine, except it completely kills my "queue a bunch of requests and
read responses later" paradigm here. Hence, I'm doing it one. by. one.

Fuck this shit.
2024-06-06 16:04:22 +03:00
..
.gitignore Trying to list all windows from _NET_CLIENT_LIST 2024-06-06 14:48:57 +03:00
Makefile Oh my fucking god, fuck xcb and X 2024-06-06 16:04:22 +03:00
main.c Oh my fucking god, fuck xcb and X 2024-06-06 16:04:22 +03:00
screenshot.c Trying to list all windows from _NET_CLIENT_LIST 2024-06-06 14:48:57 +03:00
screenshot.h Trying to list all windows from _NET_CLIENT_LIST 2024-06-06 14:48:57 +03:00
state Trying to list all windows from _NET_CLIENT_LIST 2024-06-06 14:48:57 +03:00
windowtree.c Oh my fucking god, fuck xcb and X 2024-06-06 16:04:22 +03:00
windowtree.h Oh my fucking god, fuck xcb and X 2024-06-06 16:04:22 +03:00