[Help]: Question about compositing with xfwm4
fourdan at gmail.com
Sat Oct 24 12:38:02 CEST 2009
On 10/23/09, andy wang <wandy817 at gmail.com> wrote:
>> If "xli" sets the root pixmap property XROOTPMAP, xfwm4 can be built
>> to "listen" to the XROOTPMAP property and repaint the background
>> accordingly, you just need to built xfwm4 from sources with
>> MONITOR_ROOT_PIXMAP defined.
> So if I want to make xli works properly with compositor extension, I need to
> 1 .change XROOTPMAP property with the root pixmap in xli,
> 2. build xfwm4 with XROOTPMAP
> 3. need a gtk event loop to receive expose event, and repaint the background
> in expose callback function
> If there no loop to repaint background, it will fail, am i right? so i
> should to add a event loop to xli source code if i want to
> make xli works properly with compositor feature.
Humm, nope, there is no need tor an event loop at all.
Check this: http://www.eterm.org/docs/view.php?doc=ref#trans
For the XPixmap to be retqined fter xli hqs exited, you need to call
XSetCloseDownMode(display, RetainPermanent) before exiting so that the
resources are not discarded when the connection with the display
More information about the Xfce4-dev