Re: FVWM: modified SloppyFocus

From: Adam Tla/lka <atlka_at_pg.gda.pl>
Date: Thu, 16 Mar 2000 08:56:06 +0100

On Thu, Mar 16, 2000 at 07:28:34AM +0100, Dominik Vogt wrote:
> You can have this with the 'GrabFocus' style option in
> the current beta versions.
I will try.

> That would be very hard to implement. With SloppyFocus fvwm has
> to update the focus window whenever it receives a EnterWindow event.
> If you destroy a window and switch focus to the last window, fvwm
> will receive an EnterWindow event for the window below the cursor
> immediately after the focus is switched. Now, how can you
> distinguish between a EnterWindow that was caused by mouse motion
> and one caused by the previous window with the pointer being
> unmapped?
But fvwm knows that a window is destroyed so maybe there should be an option
to warp pointer to the window which was the previous on the list.
Just ignore EnterWindow event and switch focus to proper window.
We could set a flag meaning that there was a window closing operation.


> > 3. while moving window as a frame window list order not changes
> What is this good for?

If you set OpaqueMoveSize below 100 and click on the window title then
move the frame and mouse moves above other window that window is set as
top on the list. So list order is changeing which disturbs functionality
of switching to last active window function (bind to Alt+ESC ESC).
On the contrary while OpaqueMoveSize is 100 there is no problem because
the mouse pointer is always above the current ative window.
So maybe there is a problem with EnterWindow event too.
Setting inner flag that fvwm is doing something with the active window
and EnterWindow events will be ignored till the end of operation
should solve the problem.

Nice feature wolud be if functions called by FvwmEvent module could have
windowid of window for which this event appeared addeed as an argument
to them. It is not always Current window so in this case you can't get to
this window to execute any operation on it.

Regards
-- 
 . .  Adam Tla/lka      mailto:atlka_at_pg.gda.pl    ^v^ ^v^ ^v^
  )   System  & Network Administration Group           ~~~~~~
  -  Computer Center,  Technical University of Gdansk, Poland
     PGP public key:   finger atlka_at_sunrise.pg.gda.pl
--
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 Thu Mar 16 2000 - 01:56:19 GMT

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