FVWM: icon handling in fvwm2

From: Austin Donnelly <and1000_at_cam.ac.uk>
Date: Thu, 2 Nov 1995 23:12:30 +0000 (GMT)

Hi,

The icon handling seems to have changed quite a bit in fvwm2. Having
IconBoxes specifiable on a per icon basis is nice!

However, as far as I can see, it's now impossible to get the same
effect as StubbornIconPlacement used to - ie icons won't place
themselves under windows. The FAQ just says "(obsoleted)" - but it
doesn't mention how to get the same effect.

Would it be possible to have a style line saying how space for an icon
is to be searched for ?

Eg:

style "*" IconPlacement "IconBox&Visible, Anywhere&Visible, IconBox,
               Here, Anywhere"

(the "&Visible" suffix can be added to any condition). I would
suggest that this line means use:

 (1) the iconbox if there's room in it & the icon wouldn't be under a
     window (invisible) or on top of another icon; otherwise:

 (2) anywhere, so long as the icon's visible and not on top of
     another; otherwise:

 (3) the iconbox if there's room and it wouldn't be on top of another;
     otherwise:

 (4) centered on the inconified window's previous location, if it
     wouldn't be on top of another icon; otherwise:

 (5) (getting desperate here:) just plonk it down anywhere - never mind
     if it hides another icon or is hidden by a window!



This scheme would give people the flexibility to have their icon's
dropped where they expect them. fvwm-1.24r used a placement scheme as
I've just suggested, but hard wired. fvwm2 uses

Style "*" IconPlacement "IconBox, Here"

(I think)



Also, I think it's the case that fvwm2 doesn't allow you to overflow
an iconbox into another, like fvwm-1.24 used to. I think this is a
wonderful feature, and miss it :) Can the syntax for IconBox be
expanded to take multiple 4-tuples describing a series of boxes ?


I'll have a look at the icon placement code, to see how easy it might
be to generalise things...

Cheers,
Austin
--
To err is human; to really fuck things up requires the root password
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Nov 02 1995 - 17:12:40 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST