<div class="gmail_quote">
<div> </div>
<div>OK, thank you for your help !<br><br></div>
<div class="gmail_quote">2008/5/27 Kalle Vahlman <<a href="mailto:kalle.vahlman@gmail.com" target="_blank">kalle.vahlman@gmail.com</a>>:
<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">2008/5/26 Quentin Carbonneaux <<a href="mailto:qcarbonneaux@gmail.com" target="_blank">qcarbonneaux@gmail.com</a>>:<br>
<div>> If I redirect a window with this extension without updating the root window<br>> with the contents of the window concerned, how can the application be<br>> informed when that the user clicked on a button or typed a char on his<br>
> keyboard since these events are sent to the only window available on screen<br>> : the root win.<br><br></div>You said it yourself, you only redirect the _contents_ of the window<br>so even if you don't update the contents, the window still exists in<br>
its coordinates and receives input events as usual.</blockquote>
<div> </div></div>
<div>I thought windows 'disappeared' from the internals of X11, pretty stupid ...</div>
<div class="Ih2E3d">
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><span></span><br>> Moreover, in a composite WM I think Xlib functions which aim to manage the<br>> focus, for instance, cannot be used, so is it the role of the WM to do all<br>> this work ?<br><br></div>Composite managers are not (necessarily) window managers, they just<br>
control the rendering of the screen. xcompmgr is a perfect example of<br>this, all it basically does is redirect window contents and add<br>optional alpha & shadows when rendering. There's no window management<br>
functionality in xcompmgr.<br><font color="#888888"><br>--<br>Kalle Vahlman, <a href="mailto:zuh@iki.fi" target="_blank">zuh@iki.fi</a><br>Powered by <a href="http://movial.fi/" target="_blank">http://movial.fi</a><br>Interesting stuff at <a href="http://syslog.movial.fi/" target="_blank">http://syslog.movial.fi</a><br>
</font></blockquote></div></div>
<div><br> </div></div><br>