Hi everyone! I'm fairly new to X11 programming so bear with me a bit.
I'm attempting to change the title bar on windows which match a few criteria. I can isolate those specific windows by looking through the results of XQueryTree, and that's fine. But it seems a little overzealous to poll every x seconds to see if any more windows have been opened which fit the criteria. Is there any way to receive some kind of global "a window has been created" event so I can check that particular window?
If it helps, here's a little context: the company I work for has us using a program which opens up a ton of little windows. The title string is unnecessarily long in each of them, and we have to look through all these open windows for the one we want. The gnome-panel would be a lot easier to read if everything was shorter!
(also, it was quitting time when I typed up something to find the window I want and get the title string, but I didn't actually change the title yet. I'm assuming/hoping it's actually possible to change the title on a 3rd party program? I'm used to windows [gasp])