FVWM: Concerning a StartsOnPage option

From: Michael Tiefenback <tiefen_at_mgt.jlab.org>
Date: Thu, 4 Sep 1997 16:09:44 -0400 (EDT)

At the risk of pushing an analogy too far, one _could_ get essentially the
desired behavior (put a given window on a given page of a given desk) by
the following mechanism (given the geometry held by the system, you
should be able to place a window to pixel resolution with respect to any
fiducial marker you choose; this is what differential GPS does):

Generate a "benchmark" window at geometry +0+0

>From wherever you are, knowing the page size, fvwm can pick up the
geometry of the window of this name, relative to the present page. If
your display is 1280x1024 and you are 3 pages right and 1 down from the
starting page, you will pick up the geometry (a' la WindowList) as
-3840-1024.

With this bit of info, you can anchor any new window at any point of any
page, and add to it the StartsOnDesk option with a SkipMapping option
added.

It "should not be too hard" to allow fvwm2 to make a phantom "window" at
startup and keep track of where this window is over time. Then the "page"
one is on will be available trivially and one may make offsets with
respect to the current page. Gotta go now, late for a meeting....

Michael Tiefenback

--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
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 Sep 04 1997 - 15:11:55 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST