I hope this is an easy one for someone here, and I apologize if I&#39;m asking in the wrong place.  And please forgive what I&#39;m sure must be a dumb question, but I&#39;m stumped.  Even just tips of where else to look for the answer would be gratefully welcomed.<br>
<br>I&#39;m using a simple C program to launch a trivial pipeline with a videotestsrc sourcing to an xvimagesink.  My demonstration source is at:<br><br><a href="http://vps01.westbrook.com/movewin.c">http://vps01.westbrook.com/movewin.c</a><br>

<br>Creating and launching the pipeline from C is easy enough and works fine.  The trick (to me) is that I want it to be placed in an undecorated X11 window at specific screen coordinates, and I&#39;m unable to so far.<br>
<br>From what I gather from reading everything I can find, for best results this should be done using the &quot;prepare-xwindow-id&quot; message sent by the xvimagesink element, and responding with the created window ID using the &quot;gst_x_overlay_set_xwindow_id()&quot; method of the xoverlay interface.  I&#39;m doing this, and I do indeed get a request message, and respond to it.<br>
<br>It doesn&#39;t seem like a terribly complicated transaction, but it&#39;s not working for me and I&#39;m at a loss as to why.  Try as I might, video appears in xvimagesink&#39;s self-created window rather than mine, with decorations, anywhere on the screen that the WM feels like putting it.<br>
<br>Would anyone mind taking a quick glance to see what I&#39;m doing wrong?  I hope it&#39;s obvious to someone with more gstreamer under their belt than me.  Also, when it&#39;s working, would a well-documented example of this technique be good to share on an examples page of some kind?  (Or if one exists already, pointers appreciated; I couldn&#39;t find one.)<br>
<br>Thanks for any help!<br>E. Westbrook<br>