Re: Background Image Proposal

Ethan (allanon@crystaltokyo.com)
Wed, 3 Mar 1999 01:13:59 -0800 (PST)



On Wed, 3 Mar 1999, Rafal Wierzbicki wrote:

> I think that asetroot is the better alternative for managing desktop
> backgrounds, it's a lot simpler, cleaner, there is no need for large
> rewrites.  I'd rather see Pager moved to use mystyles with optional
> support for grabbing the ROOT_PMAP or, as you suggested, AS_BG_DESK1 etc.

I agree.  In fact, I don't see the point of making a new property for 
publishing what background goes with which desk.  The current technique 
in which only one module (Pager or asetroot) knows the mapping, and 
other apps watch _XROOTPMAP_ID for changes, seems to work well.

Different backgrounds for each desktop is a good feature, imo.  A mapping 
between images and desks to prevent the same image from being loaded 
multiple times sounds good to me, although the configuration might be 
cumbersome.  I've been against using MyStyles for the desktop background, 
because that would require AfterStep itself to load the images - however, 
the MyStyle parsing code is still in asimagelib and could be used in, 
say, asetroot.  This would provide the inheritance.  A little care would 
have to be taken because asetroot uses XSetCloseDownMode(), but this 
sould be done.

----
Ethan Fischer
allanon@crystaltokyo.com
http://members.xoom.com/allanon1