A window should stay on top of all other windows. Is this somehow possible with plain x11/xlib? Googling for \"Always on top\" and \"x11\" / \"xlib\" didn\'t return anything
I wrote something like this in Xlib many years ago. It's a few lines of code. When your window is partially obscured you get a VisibilityNotify event, then call XRaiseWindow. Watch out for the case where two of your 'always on top' windows overlap.