Window Manager: Intercepting mouse events

Bipin George Mathew bipingm at gmail.com
Thu Jan 15 17:02:44 PST 2009


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.


On Mon, Jan 12, 2009 at 3:22 PM, Rémi Cardona <remi at gentoo.org> wrote:

> Le 12/01/2009 21:29, Bipin George Mathew a écrit :
>
>  I am writing a window manager where I am transforming the window
>> contents (using the composite extensions). After applying the
>> transformation, I also need to ensure that mouse events are transformed
>> and redirected to the XClients appropriately. What is the best way to do
>> so? I came across this X Event extension - Xevie - Is this extension
>> recommended for this WM use-case?
>>
>
> 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.
>
> Compiz folks had Xserver patches to add mesh-type OpenGL-like transforms to
> windows. Don't know what state those patches are in...
>
> Metisse (shameless plug) has working input-redirection but it requires an
> additional X server process.
>
> Both approaches have their advantages and shortcomings, pick your poison.
> :)
>
> Cheers
>
> --
> Rémi Cardona
> LRI, INRIA
> remi.cardona at lri.fr
> remi at gentoo.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20090115/d295902b/attachment.html>


More information about the xorg mailing list