Re: FVWM: window placement idea / wish

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 25 May 2002 00:25:03 +0000

On 24 May 2002 20:04:30 -0400, Dan Espen wrote:
>
> Cameron Simpson <cs_at_zip.com.au> writes:
> > On 19:06 24 May 2002, Dan Espen <dane_at_mk.telcordia.com> wrote:
>
> > | I don't normally like MIDI applications but in the case of the
> > | browser, it seems like the best way to go.
> >
> > MIDI? I only know the electronic music acronym. What do you mean here?
>
> Gee, I thought MIDI was the right term for applications that
> managed subwindows themselves, like StarOffice 5.2 or Visual C++,
> but I can't find anything to confirm that with Google.
> I must be loosing my mind...

It is MDI (Multiple Document Interface) as opposed to SDI (Single DI).

> You seem to want to script and control the whole process.
> If the windows have unique names, like the Slashdot one
> will, you might consider using FvwmEvent to watch the window
> being created and move it where you want.

The problem here is that such script should return the final coordinates
before the window is mapped, not after.

If we would have such mechanism using module events, it is easy to code
a simple module in perl - FvwmPlacement - that implements all kinds of
placements and checks that a window is not out of screen and so on:

  UnderCursorPlacement - should be done anyway
  CenterPlacement - should be done anyway, because I need this :)
  AvoidFocusPlacement - suggested by Cameron Simpson
  AvoidCursorPlacement - the same
  ConstantPlacement - the same
  and other placement policies per window...

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri May 24 2002 - 19:25:57 BST

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