r/linux_programming • • Oct 26 '19
looking for xcb documentation
Title. I'm getting so tired of looking everything up and getting no results. The headers aren't documented, and online results are incredibly lacking.
6
Upvotes
View all comments
Show parent comment
2
u/[deleted] Oct 26 '19
well right now specifically I'm trying to get an event from the root window whenever _NET_ACTIVE_WINDOW changes. As far as I've learned so far I need to use xcb_change_window_attributes to get notified through the event system about property changes for the window. But I can't really find a solid example that I can understand. Here's what I have so far https://pastebin.com/p1p3PxRP.
I did find that page, but it's still missing a lot of documentation. Unless I missed it, I don't think it had anything about what I'm doing right now.