On Sun, Aug 19, 2001 at 06:45:32PM -0400, Dan Espen wrote: > Dominik Vogt <[EMAIL PROTECTED]> writes: > > Dan, I looked at the icon box code in style.c because I wanted to > > make it work with changes of the Xinerama state, but the matter is > > too complex to write a patch in short time for me. > > > > What I want to do: > > > > 1) Default to using the primary screen for icon box specs > > (already works for X geometry like specs and is easy to do for > > the other syntax). > > 2) Recalculate all icon boxes when the Xinerama layout of the > > screen changes (switched on or off). > > > > The difficult part is (2) because all the calculations are done > > when the style is defined. The precise spec string is thrown away > > afterwards. So doing this requires to remove the calculations > > from style.c and do them somewhere is icons.c. Can you take a > > look at this, please? I think this could wait until after 2.4.1. > > It doesn't look too hard, it just needs to save the signs separately > (for -0) and apply screen dimensions later. > > Is there a way to test screen size changes without Xinerama working?
With Xinerama emulation. Run configure with $ ./configure --enable-xinerama-emulation The screen is then split into two fake Xinerama screens and a blank area that doesn't belong to any screen. To switch Xinerama on and off just use Xinerama off or Xinerama on or Xinerama <primary_screen_number> Currently this only allows to switch the emulation on and off, not to change the Xinerama layout. Also, it is done for fvwm and all modules, which is inefficient and a bit confusing during startup. Bye Dominik ^_^ ^_^ -- Dominik Vogt, email: [EMAIL PROTECTED] LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20 -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]