Re: FVWM: per window autoraise? [new FvwmAuto version]

From: Albrecht Kadlec <albrecht_at_auto.tuwien.ac.at>
Date: Tue, 15 Oct 96 23:28:22 +0200

>>>>> Albrecht Kadlec writes:

>>>>> Michael Hirsch writes:
>>>>> Kai Grossjohann <grossjohann_at_charly.informatik.uni-dortmund.de> writes:
Kai> I really want per-window auto raise, tho. I usually want only a
Kai> couple of windows to be autoraised. Also, I would like autolower
Kai> (the window is lowered when it loses focus). This way, I could
Kai> position my DVI previewer over all the little windows (xbiff,
Kai> xload, xclock etc) and turn on both autoraise and autolower.
Kai> Then, I move the mouse from the editor into the DVI previewer,
Kai> the previewer pops to the front, I can look at it. When I move
Kai> back into the editor, the previewer plops back to the background
Kai> again, so that I can look at all the little windows (want to see
Kai> the time ;-).

M> Could all this stuff (per window autoraise/autolower) be done via a
M> module? The module woul listen for window enter/leave events and then
M> direct fvwm to do the right thing.

A> it IS done this way.
A> And I'll add the leave command, as soon, as I find the time.

M> I can't recall if window enter/leave events are available from fvwm.
no, sorry. they aren't, but focus is mostly equivalent, except for sloppyfocus.

Well FvwmAuto does actually only listen to FocusChange events.
I now added a LeaveCommand, which is executed Timout milliseconds, after
the focus has left the window.

With SloppyFocus, this is not the same as a leave event: If you leave the
window, but don't enter another one - i.e: stay on root - focus doesn't
change.

It's quite fun to use
        FvwmAuto 0 Nop iconify
together with
        style "*" NoIcon
and the windowlist to open windows.
You can of course use lower instead.

Using
        FvwmAuto 300 raise iconify
does somewhat more dramatic changes to the screen than raise alone.


Experiment.
More confusing actions via separate FvwmAuto's with separate timeouts.

        <URL:http://www.auto.tuwien.ac.at/~albrecht>

PS to Kai: your problem is special. I still can't get a style flag out of
thin air. You could peruse circulateskip and windowlistskip flags, but the
problem is, there's no
        if [!circulateskip] command
and the
        FvwmAuto 300 "Next [!circulateskip,windowid $w] command"
doesn't work yet (timout, I'll have to be in the barracks at 24:00).
- maybe soon (no more changes in FvwmAuto, but bugfixes for the circulate
option parsing part of fvwm2)

have fun,
albrecht
-- 
No one understood what I felt for Mary
No one cared until the night she went out walking alone
And never came home ...
Men with a badge came knocking next morning
Here was I surrounded by a thousand fingers suddenly
Pointed right at me ...       -- Richard Marx
--
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 Tue Oct 15 1996 - 16:29:50 BST

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