Xcomposite questions

Kamalneet Singh kamalneet.s at samsung.com
Thu Dec 4 05:02:51 PST 2008


Alexei Babich wrote:
> Please, tell me, how to implement the following things, according to the scheme(figure) below:
> 1). Semitransparent background of the window w3; I want to watch the content beneath (under) it (part of the windows w1, w2, root; which intersects with the parts of the window w3). At the same time, functions of the Xrender on this background must work correctly.
> 2). Drawing in parts of the windows w1, w2, which intersects with the window w3.
>
> I read the documentation for Xrender, Xcomposite, Xdamage, Xfixes and X Window System basics; I am understood everything(?) about this separately, but I can not understand, how do that things, which I described in 1) and 2).
>   
Any simple compositing manager, e.g. xcompmgr, can do this. Everything
"just works", you don't need to do anything special for (2), or for
using Xrender on any window. Set the opacity of w3 using "transset",
xcompmgr will read that and apply the transparency.
Or you want to write your own compositing manager?

~kammal
> Thank you in advance.
>
> Scheme:
> +--------------root_win---------------+
> |                                     |
> |                                     |
> |                                     |
> |              +--w2-------+          |
> |    +--w1---+ |           |          |
> |    |       | |           |          |
> |    |   +---+-+---w3-+    |          |
> |    +---+            |    |          |
> |        |            |    |          |
> |        +-----+------+    |          |
> |              +-----------+          |
> |                                     |
> |                                     |
> |                                     |
> +-------------------------------------+
> Note:
> a) w1, w2 and w3 are childs of root;
> b) w3 is OVER w1 and w2
> c) No OpenGL present
>
>   




More information about the xorg mailing list