Top level window on X Window System
- by La Chamelle
Hello,
i want to print on the screen the informations about Top level windows under Linux.
I use the xlib functions. I successfully recurse from the root window to print all the informations about all the element on display.
But i need only the Top-Level window. I don't find any good way to filter.
From wikipedia :
The top-level windows are exactly the
direct subwindows of the root window.
With that definition , I have some windows like: gnome-session, seahorse-daemon,notify-osd or icons, on my list and i don't want them.
I also find a function : XmuClientWindow, but i don't understand it's goal.
Thanks to help me.