Thanks for the help!  That observation got me pointed right.  <br><br>Amusingly, I hadn&#39;t tried adjusting the height and width in the XCreateSimpleWindow call -- just the origin.  So I assumed (wrongly) that my created window was being disregarded by xvimagesink, when apparently it wasn&#39;t.  Changing width/height, as you did, demonstrated that assumption to be wrong, since xvimagesink would have to be getting those dimensions from the created window.<br>
<br>The &quot;real&quot; problem, it turns out, is that unless told otherwise, the window manager ignores the created x/y position (I use fluxbox, but I would wager that other WMs behave this way too).<br><br>This code, after window creation and before mapping, apparently tells the WM to bugger off:<br>
<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><font size="1"><span style="font-family: courier new,monospace;">unsigned long valuemask = CWOverrideRedirect;</span></font><br style="font-family: courier new,monospace;">
<font size="1"><span style="font-family: courier new,monospace;">XSetWindowAttributes attributes;</span></font><br style="font-family: courier new,monospace;"><font size="1"><span style="font-family: courier new,monospace;">attributes.override_redirect = True;</span></font><br style="font-family: courier new,monospace;">
<font size="1"><span style="font-family: courier new,monospace;">XChangeWindowAttributes(disp, win, valuemask, &amp;attributes);</span></font><br style="font-family: courier new,monospace;"></blockquote><br>It now displays for me exactly as desired.  I also wanted the window without decorations, and this achieves that result at the same time.<br>
<br>I&#39;ve updated the example code at the previous URL which now works as desired.  Hope this simple problem/solution example helps someone else searching for this.<br><br>Thanks so much for the help!<br>E. Westbrook<br>
<br>PS - Thanks for the -lXt linking observation, that&#39;s fine for me too.<br><br><div class="gmail_quote">2009/6/23 Zhao, Halley <span dir="ltr">&lt;<a href="mailto:halley.zhao@intel.com">halley.zhao@intel.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="blue" lang="ZH-CN">

<div>

<p><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US">When I run your sample</span></font></p>

<pre><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US">I saw one window, which could adjust its size in </span></font><span lang="EN-US">XCreateSimpleWindow ().</span></pre>
<pre><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US">Isn’t it same on you side?</span></font></pre><pre><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US"> </span></font></pre>
<pre><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US">I compile it use –lXt, instead of -lXtst</span></font></pre><pre><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US"> </span></font></pre>


<p><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US">And gdkwindow could do
full-screen to hide window title to reach an un</span></font><span lang="EN-US">decorated
window, is this what you need?</span></p></div></div></blockquote></div><br>