Overlays
A window with no background that sits on top of everything. Clicks go straight through wherever you drew nothing, so the game under it never notices. HUDs, crosshairs, stream overlays, key displays, sticky notes. The same code works on X11, Wayland, Windows and macOS.