On Tue, 2010-06-01 at 11:32 +0200, ext Sivan Greenberg wrote:
> 2010/6/1 Kimmo Hämäläinen <kimmo.hamalai...@nokia.com>:
> > I think the Control Panel plugin API is C/GTK only since the plugin runs
> > inside the Control Panel application.  You'd need to be somehow familiar
> > with X11 programming, since it would involve finding out the current
> > live backgrounds and offer UI for manipulating the window property on
> 
> So essentially find the XWindow ID and set transparency attribute on it?

No, transparency property is not used, the window itself needs to be
transparent (i.e. 32-bit window with alpha channel). You'd need to use
XQueryTree() (check e.g. the xsnow patch -- it finds the applet windows)
and find windows with _HILDON_LIVE_DESKTOP_BACKGROUND > 0 window
property on them, and then provide UI for manipulating the property, and
perhaps even killing the processes (when _NET_WM_PID is provided by the
window). See test-live-bg.c for example code on how to set this
property.

-Kimmo

> 
> Sivan

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to