Re: FVWM: Focus via FvwmIconMan; resizing windows at placement?

From: Albrecht Kadlec <albrecht_at_auto.tuwien.ac.at>
Date: Tue, 21 Jan 97 14:24:46 +0100

>>>>> Allen Brady Montz writes:
A> "Eddy J. Gurney" <eddy_at_ans.net> writes:

> Cool. I just got it set up and I like it! :-) There is only one problem:
> FvwmIconMan goes nuts if 'unclutter' is running. In case you don't know,
> unclutter is a cool little utility that hides the mouse pointer after so
> many seconds of no mouse movement. Basically, after the unclutter timeout
> expires (and the mouse is in FvwmIconMan, so it was responsible for maintaing
> the focus on the window the mouse was pointing at) the focus rapidly comes
> and goes from the window, until you move the mouse and make the cursor
> appear again. If the unclutter timer expires when the mouse is not in
> FvwmIconMan, it works fine. It is only when I use the mouse in FvwmIconMan
> to select focus that I have a problem... any ideas?

A> Very odd. unclutter must be doing something which is generating some sort of X
A> event like MotionNotify or EnterNotify.

yes it's an iconify or close event or sth. (user-defineable)

A> I just use sloppy focus, and I move the cursor to the root window if it's in
A> my way.

A> Well, it sort of is. Originally, Focus warped the cursor to the window, as
A> well as raising it. I then proposed a WarpToWindow function which would warp
A> the cursor to a given window, and making Focus just focus, and nothing else.
A> Cause then with WarpToWindow, RaiseWindow, and the new trim Focus, you could
A> make a fvwm function which would emulate the old Focus behavior if you really
A> liked it. The WarpToWindow function was added, and Focus stopped warping the
A> cursor, but it still raised the window. That was 2.0.43 I think.

RaiseWindow already exists as "Raise".

A> Something to think about after 2.0 gets oficially released.

it's a two-line change in builtin.c, but many .fvwm2rc's will have to be
changed.

I'd put it in 2.0.45, but Chuck has to decide.

Shall I butcher focus & mail a patch?

albrecht
-- 
Now, in houses with a south aspect, the sun's rays penetrate into the porticoes
in winter, but in summer, the path of the sun is right above the roof so that
there is shade. If, then, this is the best arrangement, we should build the
south side loftier to get the winter sun, and the north side lower to keep out
the cold winds.						 --- Socrates, 360 B.C.
--
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 Jan 21 1997 - 07:26:24 GMT

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