Is it possible to use a combination of XGrabButton on the root window and use XSendEvent to send the transformed co-ordinates? I guess the shortcomings of doing this is that applications may not honor synthesized events.<br>
<br><br><div class="gmail_quote">On Mon, Jan 12, 2009 at 3:22 PM, Rémi Cardona <span dir="ltr"><<a href="mailto:remi@gentoo.org">remi@gentoo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Le 12/01/2009 21:29, Bipin George Mathew a écrit :<div><div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am writing a window manager where I am transforming the window<br>
contents (using the composite extensions). After applying the<br>
transformation, I also need to ensure that mouse events are transformed<br>
and redirected to the XClients appropriately. What is the best way to do<br>
so? I came across this X Event extension - Xevie - Is this extension<br>
recommended for this WM use-case?<br>
</blockquote>
<br></div></div>
There's no official extension to do that. And XEvIE has been broken for years and was removed a couple weeks ago from master. Besides, it didn't do what you want.<br>
<br>
Compiz folks had Xserver patches to add mesh-type OpenGL-like transforms to windows. Don't know what state those patches are in...<br>
<br>
Metisse (shameless plug) has working input-redirection but it requires an additional X server process.<br>
<br>
Both approaches have their advantages and shortcomings, pick your poison. :)<br>
<br>
Cheers<br><font color="#888888">
<br>
-- <br>
Rémi Cardona<br>
LRI, INRIA<br>
<a href="mailto:remi.cardona@lri.fr" target="_blank">remi.cardona@lri.fr</a><br>
<a href="mailto:remi@gentoo.org" target="_blank">remi@gentoo.org</a><br>
</font></blockquote></div><br>