Composite WM and events

Quentin Carbonneaux qcarbonneaux at gmail.com
Tue May 27 07:41:53 PDT 2008


OK, thank you for your help !

2008/5/27 Kalle Vahlman <kalle.vahlman at gmail.com>:

> 2008/5/26 Quentin Carbonneaux <qcarbonneaux at gmail.com>:
> > If I redirect a window with this extension without updating the root
> window
> > with the contents of the window concerned, how can the application be
> > informed when that the user clicked on a button or typed a char on his
> > keyboard since these events are sent to the only window available on
> screen
> > : the root win.
>
> You said it yourself, you only redirect the _contents_ of the window
> so even if you don't update the contents, the window still exists in
> its coordinates and receives input events as usual.


I thought windows 'disappeared' from the internals of X11, pretty stupid ...


>
> > Moreover, in a composite WM I think Xlib functions which aim to manage
> the
> > focus, for instance, cannot be used, so is it the role of the WM to do
> all
> > this work ?
>
> Composite managers are not (necessarily) window managers, they just
> control the rendering of the screen. xcompmgr is a perfect example of
> this, all it basically does is redirect window contents and add
> optional alpha & shadows when rendering. There's no window management
> functionality in xcompmgr.
>
> --
> Kalle Vahlman, zuh at iki.fi
> Powered by http://movial.fi
> Interesting stuff at http://syslog.movial.fi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20080527/5aa8a89b/attachment.html>


More information about the xorg mailing list