As some may already have noticed, the CF_PLACEMENT_GEOM option no longer
exists. Howewver, the latest release features a 'ionws_placement_method'
hook that scripts can hook on to to implement arbitrary window
placement handlers, including such a geometry-based handler.

The script <http://iki.fi/tuomov/ion/heuristics.lua> attempts to do
some heuristic placement with window shrink/splurge penalties that
work half of the time. The script can, however, be used to also
implement such geometry-based placement and should suffice as an
example on how to implement better heuristics. (To use the script,
copy it in, for example, ~/.ion-devel/ and include('heuristics.lua')
in ioncore.lua.)

-- 
Tuomo

Reply via email to