I was looking for a way to get the location of the active window on my screen when I stumbled upon a post in SO that had the code for me, but I got stuck trying to figure out what it did. The xlibs docs (for python) doesn't seem very helpful either. Going through https://tronche.com/gui/x/xlib-tutorial, it provides a link to https://tronche.com/gui/x/xlib-tutorial/screen-and-root-window.html which, based on the URL, looks like what I'm looking for but sadly it gives me a "Page Not Found".
So, what does "The screen root window" refer to? Also, is there a better place I can look for xlib resources?