Casey
cfa2af3d91
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. |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
main.c | ||
screenshot.c | ||
screenshot.h | ||
state | ||
windowtree.c | ||
windowtree.h |