On 13 Aug 2007, at 17:41, Yen-Ju Chen wrote: > Actually, the pixmap you get in Composite is unscaled background > provided by AZBackground. > (See root_tile() in Composite). > So you only need to query the size of that pixmap, scale it > accordingly. > Then we have the scaled background image. > You probably can get the size of pixmap by XGetGeometry(). > http://tronche.com/gui/x/xlib/window-information/XGetGeometry.html
Sorry, I don't think I explained myself well. Composite, when it does the compositing of windows, can apply a scaling factor (this is how the experimental mini-window thing I have going works). If AZBackground can provide a Picture to Composite, then it will be able to scale it correctly and then draw it on the root window before it draws all of the other windows. It can't use the root window as the source, since it's too small. David _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
