On Mon, 2004-02-02 at 20:40, Toralf Lund wrote:
/Actually, I think I'll rephrase the question from earlier today... I
might have asked:
Is there a way I can setup gtkmm so that my app is notified whenever a
new window is opened on the current display?
With XLib you can do this by checking for "Substructure" events
(SubstructureNotifyMask) of type "CreateNotify" on the root window. In
other words, if I can catch an XLib event in general, the problem is
probably solved, but I'm open to other solutions, too.
- Toralf/
Hi,
Depends on why you want to do that. I think that gtk or gdk drops
notifications for unknown windows - but I may be wrong, as it has been
two years since I last looked at that.
Have you checked the Window Manager-related protocols?