Parent Handle of a Video Sub-Window

saad shams saad.shams at
Fri Aug 8 16:16:54 PDT 2008

Any clue ?
How to get the window id of the one that spawns a new subwindow. Is there
any other way to get the parent id of window instead of XQueryTree()?


On Fri, Aug 8, 2008 at 11:03 AM, saad shams <saad.shams at> wrote:

> I need to get the Window Id of the browser in case of playing a mediaplayer
> (vlc) as plugin OR the window id of vlc-player in case I am playing video as
> in normal player. The code to get the IDs (root,children,parent) depends on
> the location of function call XQueryTree()....I have also tried getting
> rootwindowID but always gives BadWindow error. I dont know where I can get
> the appropriate information .......I dont know whats wrong with getting
> parent-id of player/browser after video goes into fullscreen ....but i am
> not sure yet....
> Is there any other way I can get the WindowId of the parent of fullscreen
> video window ???
> thanks & regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the xorg mailing list