I am having an application where i need to display streaming video using XV.
I will pass top-level window ID to underlying video playing application which will Attach/Add child window (child window with streaming videos in it) to my window. So for that I need to get ID of top level window provided by operating system.
I am using GTK+ and C on Linux.