Parent Handle of a Video Sub-Window

Peter Harris peter.harris at
Tue Aug 12 06:35:44 PDT 2008

saad shams wrote:
> is there anyone reading my mails ???

Yes, but you are asking on the wrong mailing list. This is the 
mailing list. XQueryTree (or xcb_query_tree) is the way you find a 
parent window ID via the X protocol. If you want a VLC-specific way to 
find VLC's windows, you should ask on the VLC lists.

(Also, your original message far exceeded your punctuation quota. 
Question marks, and especially ellipsis should be used very sparingly if 
you want people to understand what you are saying.)

Peter Harris

> On Sat, Aug 9, 2008 at 1:16 AM, saad shams <saad.shams at 
> <mailto:saad.shams at>> wrote:
>     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()?
>     thanks
>     On Fri, Aug 8, 2008 at 11:03 AM, saad shams <saad.shams at
>     <mailto: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

      Hummingbird Connectivity - A Division of Open Text
Peter Harris          
Research and Development        Phone: +1 905 762 6001
peter.harris at    Toll Free: 1 877 359 4866

More information about the xorg mailing list